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

unexpected behaviour when setting custom permissions per user #86

Open
Givo29 opened this issue Aug 8, 2019 · 1 comment
Open

unexpected behaviour when setting custom permissions per user #86

Givo29 opened this issue Aug 8, 2019 · 1 comment

Comments

@Givo29
Copy link
Contributor

Givo29 commented Aug 8, 2019

Hi Adam,

I found today that custom permissions for users seem to be showing unexpected results. I was trying to set a user to be able to view the projects of a certain company but not edit them.
I tried:

View: Allow

(with no further permissions for that company), which allowed them to edit the projects in the company.

View: Allow
Edit, Add, Delete: Deny

Not able to view the company's projects (unable to select from dropdown)

View, Access: Allow
Edit: Deny

Not able to view the company's projects (unable to select from dropdown)

View: Allow
Access: Deny

Not able to view projects (unable to select from dropdown)

Access: Allow

Able to select the company from dropdown in projects tab but unable to see any projects

@Givo29 Givo29 changed the title Issue when setting custom permissions per user unexpected behaviour when setting custom permissions per user Aug 8, 2019
@ajdonnison
Copy link
Contributor

I believe this is related to another issue that we are having with the way permissions caching is working. Without caching the permissions should work as expected, however it is extremely slow. The caching does some things in a naive way and therefore can cause unintended consequences. It is on my radar to try and resolve this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants