Changes between Initial Version and Version 3 of Ticket #978
- Timestamp:
- 12.06.2016 14:48:46 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #978
- Property Summary changed from extend privileged assignToWorkspace method to accept an URI to Privileged access and assignments to workspace topics needed
-
Ticket #978 – Description
initial v3 1 So, as it turns, i am not able to use the privileged method as i need it to, because `dms.getAccessControl().assignToWorkspace` does currently not accept an URI.1 In my case i want ordinary users (authenticated) to not be eligible to publish topics (simply create topics in a "Public" or "Common" workspace) but instead assign their submitted (topic with all its childs and relating assocs) to a "Collaborative" workspace first. 2 2 3 The deal is, a user creates a new geo object and it must be assigned to a non-public workspace. This workspace is collaborative and just members of it have the privilege and can make the final decision to "publish" a geo object.3 Members of the "Collaborative" workspace can then, after reviewing the submitted information to a "Public" Workspace. 4 4 5 Alternatively, to be able to use the privileged API call as it is, i would need a method to get the ID of the workspace to which the requesting user no READ access, too.5 The problem i have now is that a user not member of the collaborative workspace has not the permission to assign their topics to the collaborative workspace. 6 6 7 ATM i dont know of any workaround and it seems i must rethink (and rewrite) my submission - publication workflow if i want to make it work with 4.7. OK, i need to think a bit more about how to proceed from here. 7 So, extending the privileges of the following two methods would do the trick for me: 8 {{{ 9 dms.getAccessControl().getWorkspace(collaborativeWorkspaceId) 10 }}} 8 11 9 To implement this for the 4.8.1 this should be no problem, right? 12 {{{ 13 dms.getAccessControl().assignToWorkspace(collaborativeWorkspaceId) 14 }}} 10 15 11 Thanks for your support. 16 I think this would be the way we would want to realize a "publication" workflow while completely relying on our existing ACL concept. 17 18 What do you think? Thanks for your help!