-
Notifications
You must be signed in to change notification settings - Fork 184
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
[Sharing-NG]Secure viewer role id is missing in list permission #9128
Comments
Confirmed. No |
@JammingBen @rhafer let us check that out. |
The issue (or parts of it) seems to be that the The map gets populated with contents from |
Hm. I think I am hitting a wall here. There is no distinct access control value for the if set.Stat || set.InitiateFileDownload || set.ListContainer || set.GetPath {
b.WriteString("r")
} Which basically means that if any of the Grants |
I see 👀 |
MS actually has a good list of ACE permissions: https://learn.microsoft.com/en-us/azure/azure-netapp-files/nfs-access-control-lists#nfsv4x-permissions Discussing with @rhafer we see a solution by adding We could even introduce a new version of the permissions encoding. The ace byte array starts with a type byte. We currently always use |
good idea. Let us implement it cleanly. |
@rhafer sth like this: cs3org/reva#4685 |
I think we currently can do without a new version and stay backwards compatible. I.e. we'd continue to decode |
@JammingBen #9188 should fix the problem. But now the webui is acting up as soon as I assign the SecureView role to a space member:
|
Fixes: owncloud#9128 Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Fixes: owncloud#9128 Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Fixes: owncloud#9128 Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
owncloud/web#10925 fixes that. |
Fixes: owncloud#9128 Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Fixes: owncloud#9128 Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
To get: cs3org/reva#4685 Fixes: owncloud#9128 Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
To get: cs3org/reva#4685 Fixes: owncloud#9128 Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Describe the bug
Share project space with
secure viewer
permission and list permission of that project space. Api response doesn't contain role for secure viewer. Both list permission end point has same problem.Steps to reproduce
Alice
create project spacenew-space
Alice
share project spacenew-space
with usereinstein
with permission roleSecure viewer
https://localhost:9200/graph/v1beta1/drives/8612d425-2786-446c-8ecb-78a36eeaeeaf$2d50cb6a-ff37-4683-aa06-59db537ef000/root/permissions
https://localhost:9200/graph/v1beta1/drives/{dive-id}/items/{items-id}/permissions
secure viewer
roleExpected behavior
Actual behavior
Setup
Please describe how you started the server and provide a list of relevant environment variables or configuration files.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: