-
Notifications
You must be signed in to change notification settings - Fork 20
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
Flow ACL, bug and feature requests. #200
Comments
When I share a file or folder inside a tagged and restricted folder it shows "File not found" on the shared link. I'd appreciate any help or suggestion. |
With NC 19.0.2 it is still the same and Flow remains completely unusable. |
All conditions need to match in order to trigger a workflow rules, so it would block for all users that are not in groupx AND not in group admin. If the user is in one of those they will have access. So from the rule and description this works as expected. Please file the other suggestions as individual reports so they can be tracked easier. |
Hello,
I am playing around with the "Flow" app now and I wonder if I just cannot figure out some settings or if it is worth to request a new feature.
Short summary of bugs:
when (file accessed) and (user group membership is not member of groupx) and (file system tag is tagged with groupx)and (user group membership is not member of “admin”)-> block access
-> this allows access to the folder for both groups (groupx and admin) even if this should not be the case, secondly the group “admin” is removed from the text field after saving (this works only for admin group)Short summary of wishes, if I had some :)
if(cond1=x && cond2=y){block access/allow access/permissions}
->possibility for nested conditions and use of placeholders like$usergroup
or soLong Explanation and use cases
The scenario is you want to create a group folder with several subfolders and permissions based on groups/users and tagging files/folders.
Lets assume the following folder structure:
The groups “group1”-“group3” and invisible tags with the same name are created and latter assigned to the according folder. With the flow “Block access to a file”, it can now be achieved that each group can only enter their folder inside the global/main “group-folder” by applying a ruleset like:
when file accessed and user group membership is not member of groupx and file system tag is tagged with groupx-> block access.
If I add additional
and user group membership is not member of admin
(enter admin manually, since “admin” group doesn’t show up) both groups “admin” and “groupx” have now access but after reopening the menu the admin was removed from the text field. This is strange and I guess a failure, since all fields are connected with “and” and should therefore only work for users who are member of both groups!However, if a folder should be accessed by two groups I’m stuck. Let’s say the subfolder “gproject_a” should be accessed by “group2” and “group3” users. I would apply both tags, but how to set the permissions in flow than, since I can only combine fields with “and” and for normal users it works like it should and denies access for users who are member of only one group.
Another nice feature would be to be able to create links pointing to a folder or file. Right now I place links into the “readme.md” of a folder to open other related locations. Example I want to create a link from “gproject_a” in the folders of "group2" and "group3". However, relative links would do the thing already and eliminate the problem of different ways of access.
Am I missing something or how could a more complex ACL based folder structure be set in Nextcloud? Using shares only to do so doesn't do the thing, since every user will have different and wild folder structure depending on the shares instead of a common structure with set permissions for everybody.
Here are my actual system details:
short overview from
“settings->support->system report”
:Thanks everybody and have a nice day
The text was updated successfully, but these errors were encountered: