You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unable to remove all permissions on a document. #977
I cannot remove all permissions on a document through the administrative interface.
Have you spent some time to check if this issue has been raised before?
Yes.
To Reproduce
1 - Add a group, team, role or wildcard to a document that does not contain any read or write permission.
2 - Update the document.
3 - Try to remove all permissions.
4 - Update the document again.
5 - The document is updated, but the permissions remain unchanged.
Expected behavior
The document should be updated and contain no permissions, this should be treated as an empty array.
Actual Behavior
The document is updated with the previous permissions, if I try to remove all.
Activity
eldadfux commentedon Mar 14, 2021
I can't seem to be able to reproduce this issue. @christyjacob4 / @TorstenDittmann does this happen for you?
damascenaluiz commentedon Mar 14, 2021
My screenshots:

Steps: 1-2 OK:
Step: 3 - Unset all permissions.


Steps: 4-5 Document updated, but fails to permissions.
eldadfux commentedon Mar 14, 2021
@damascenaluiz found the issue! Just submitted a PR with a fix.
eldadfux commentedon Mar 20, 2021
Fixed and released in 0.7.1