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 DefaultCC Plugin

Cc: olhsha added

comment:2 Changed 10 years ago by olof.olsson@snd.gu.se

public:
-none <-default
-read
-write

publicAccess ENUM('none', 'read', 'write') DEFAULT 'none'

This will result in no public access:

<permissions>
	<userWithPermission ref="...user1">
		<permission>writer</permission>
	</userWithPermission>
	<userWithPermission ref="...user2">
		<permission>read</permission>
	</userWithPermission>
</permissions>

This will result in public read access:

<permissions public="read">
	<userWithPermission ref="...user1">
		<permission>writer</permission>
	</userWithPermission>
	<userWithPermission ref="...user2">
		<permission>read</permission>
	</userWithPermission>
</permissions>

comment:3 Changed 10 years ago by olof.olsson@snd.gu.se

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>

comment:4 Changed 9 years ago by Sander Maijers

Resolution: wontfix
Status: newclosed

The project has ended.

Note: See TracTickets for help on using tickets.