Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] transfer responsibility / "Verantwortlichkeit übertragen" #7

Closed
2 tasks done
eins78 opened this issue Dec 5, 2016 · 1 comment
Closed
2 tasks done

Comments

@eins78
Copy link
Contributor

eins78 commented Dec 5, 2016

for Resources: MediaEntry, Collection

story

As a Madek User, I am the initial "Responsible" (responsible_user) for all Resources that I have created.
Technically, Resposibles have implicit rights for all managed Permissions and are the only Users allowed to delete a Resource. They are also "responsible" for the associated content and files in a legal sense.
Because there always has to be exactly 1 Responsible for each Resource, it can only be transfered to another User in 1 step.
Because the "old" Responsible would lose the implicit Permissions, they can select the ones they want to retain in the same step (usually at least view & download).

zhdk

Students in some departments are submitting their diploma works via the Medienarchiv.
Those departments defined as their submissions process that the last step is the transferal
of the responsibitly to their designated administrator (secretary).

ui

Form: transfer responsibility
-----------------------------------------------------------------------------------------
new responsible user: [user autocomplete]

i want to keep these permissions: [x] view [x] download [x] edit [x] manage permissions

[cancel] [SUBMIT]
-----------------------------------------------------------------------------------------

tasks

  • backend: Resource#transfer_responsibility

    for resources MediaEntry, Collection

    atomic transaction of the following steps:

    • updates responsible_user from A to B
    • creates Permissions for A (list explicitly given)
    • deletes any Permissions for B
  • ui: TransferResponsibilityForm
    view for resources MediaEntry, Collection

    • sub-view of show, not in a tab

      • could either be a "state" of the permissions form
      • or a modal (in this case it is even warranted)
    • form

      • autocomplete to select 1 User as the new responsible
      • a row like in the permission form for subject user,
        to select the permissions the old responsible want to retain
@eins78 eins78 added this to the gap v2 milestone Dec 5, 2016
@eins78 eins78 changed the title [feat] transfer responsibility / "Verantwortung übertragen" [feat] transfer responsibility / "Verantwortlichkeit übertragen" Dec 19, 2016
@eins78
Copy link
Contributor Author

eins78 commented Mar 13, 2017

done

@eins78 eins78 closed this as completed Mar 13, 2017
@eins78 eins78 added this to the ~old~ milestone Feb 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant