-
Notifications
You must be signed in to change notification settings - Fork 279
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
Transfer ownership #2496
Transfer ownership #2496
Conversation
Will there also be some kind of REST API? |
As of now this is only an occ command for admins. Whenever we expose it as a feature to users we will add an API for the user interface that can be used for the apps as well then. |
ca564b1
to
5844d12
Compare
5844d12
to
f873fc9
Compare
@matchish I took the liberty to rebase and adjust some small issues i found during testing. Would be great if you could have another look if all that makes sense to you. The major change is that when transfering ACL rules it should be enough to just drop the one for the new owner. The old owner will no longer have access unless there is a new rule added manually afterwards. |
93a9963
to
c08a6b5
Compare
It would be great if some dev could find time to review this. We have employees leaving and naturally want to transfer the ownership of some of their boards to other members of the team. We rather not mess about with running manual SQL statements against our database, even if it is probably safe if we get it right. |
c08a6b5
to
25a0473
Compare
I rebased this, will look into the failing tests and review the code changes next. |
75e5aed
to
e07a456
Compare
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
…hing to cleanup or persist there Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net> fix: conflicts
Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Luka Trovic <luka@nextcloud.com>
Signed-off-by: Luka Trovic <luka@nextcloud.com>
Signed-off-by: Luka Trovic <luka@nextcloud.com>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Luka Trovic <luka@nextcloud.com>
Signed-off-by: Luka Trovic <luka@nextcloud.com>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
cc5886b
to
c6aef45
Compare
/backport to stable23 |
/backport to stable22 |
Rebased version of #1955
closes #1306
ToDo: