Opened 10 years ago
Closed 9 years ago
#513 closed enhancement (wontfix)
public read flag for annotations
Reported by: | olof.olsson@snd.gu.se | Owned by: | Olha.Shkaravska@mpi.nl |
---|---|---|---|
Priority: | minor | Milestone: | DASISH backend |
Component: | DASISH backend | Version: | |
Keywords: | Cc: | olhsha |
Description
If the user wants public read for all annotations (for users in the database) this will be marked in the posted annotation.
For example if the user wants all annotations to be readable this could be sent as an optional emement "publicPermission":
<permissions> <userWithPermission ref="..."> <permission>writer</permission> </userWithPermission> <publicPermission> <permission>read</permission> </publicPermission> </permissions>
The annotation client will have this as a setting.
Change History (4)
comment:1 Changed 10 years ago by
Cc: | olhsha added |
---|
comment:2 Changed 10 years ago by
comment:3 Changed 10 years ago by
This will be the new way of defining permissions:
<permissionList public="read"> <permission principalRef="https://...user1ref" level="write" /> <permission principalRef="https://...user2ref" level="write" /> </permissionList>
No public access:
<permissionList> <permission principalRef="https://...user1ref" level="write" /> <permission principalRef="https://...user2ref" level="write" /> </permissionList>
OR:
<permissionList public="none"> <permission principalRef="https://...user1ref" level="write" /> <permission principalRef="https://...user2ref" level="write" /> </permissionList>
Note: See
TracTickets for help on using
tickets.
public:
-none <-default
-read
-write
publicAccess ENUM('none', 'read', 'write') DEFAULT 'none'
This will result in no public access:
This will result in public read access: