Add frontend parts for deck edit rights version 1
Description
Attachments
is blocked by
relates to
Activity
Kostis Pristouris March 3, 2017 at 1:48 PM
Work for this was redirected to https://slidewiki.atlassian.net/browse/SWIK-1031 as short-term requirements changed
Kostis Pristouris February 23, 2017 at 12:47 PMEdited
I did some testing today to review how the deck service efforts work with platform:
root deck selected, user cannot fork it (e.g. restricted deck)
"add new slide/deck" should be disabled, "edit" as well
when clicking "edit" user is alerted and brought back to view, not very user friendly
deck tree component, user cannot fork root deck (e.g. restricted deck)
the "fork" button gets enabled/disabled depending on selected subdeck, should be only dependent on root of deck tree
in direct children of root, options ( three dots ) should not be there at all as none of them can be performed
in direct children of root, rename should also be disabled
when selecting direct children of root deck, in content panel the buttons for edit, add slide/deck, duplicate, delete should also be disabled since no fork is allowed for root deck
in indirect descendants of root, current deck-service API needsNewRevision / forkAllowed / editAllowed is not enough, we need to check if editing a deck is allowed in the context of the deck tree, because for example if a user tries to fork a deck they have rights to fork, they also need to have edit rights to the deck parent, and so on. This applies to determining (b) and (c) for descendants (pending deck-service implementation)

Kurt Junghanns February 16, 2017 at 4:19 PM
The deck-service infers authorized users from already made changes on the deck/slides - use-case is here that contributors of a deck were not blocked when a deck become restricted.
Showing a list of such users is optional and will not be done in this ticket/sprint.

Kurt Junghanns January 12, 2017 at 1:13 PM
I had to make changes in the user-service as well - have to be merged into master as well when this ticket is finished.
As there were database changes the following have to be executed on the mongodb:

Kurt Junghanns January 10, 2017 at 1:56 PM
General discussion is now at https://slidewiki.atlassian.net/wiki/display/SWIK/Realize+edit+rights
Decisions from there will be implemented here (frontend part)
Details
Assignee
Kurt JunghannsKurt JunghannsReporter
Kurt JunghannsKurt JunghannsLabels
Components
Priority
MajorParent
Who's Looking?
Open Who's Looking?
Details
Details
Assignee

Reporter

Groups should be added as described in https://slidewiki.atlassian.net/wiki/display/SWIK/Groups+of+Users
Also adding and removing users for edit rights to decks. And also a deck needs an attribute for general edit access level (public, groups, creator).