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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃悰 Bug: User permissions on base get reset #7902
Comments
Do you suspect this happens - when you add a new user the permissions are changing? |
All users were invited/joined approx. 2 months ago. My first suspicion was that this was caused because we renamed the database. We had a base "Main" where we started at. After a couple of weeks, we realized that we need to change the layout. I thought it could be that because we use the old name for the new base, the permissions got somehow mixed up. However, I deleted the old base and the behavior is still there. Are there any logs I can look at? The logs of the NocoDB docker container look fine. No errors or similar. |
I created a dummy user (via Team & Settings -> Users Management -> Invite User), gave it "Editor" permissions and indeed, on my admin account the permissions change to "No Access" as long as the dummy user is logged in. As soon as I log the dummy user out, the permissions are restored to the original ones on the admin account. |
Thanks a lot for the quick fix and the new release. I deployed it yesterday and so far, the permissions stay the way they should. Our user still needs to reload the page twice before she can see all contents of cells but this might be due to the browser(s) used. She is also the only one using a Mac. |
It may be related to some old UI cache. To clarify, does it happens always or just once ? |
Yesterday it was reproducible on her Mac using Chrome and Safari. I asked if she could try different browsers or devices, delete cookies/cache to see if this a browser issue. |
If facing the same issue again then take a screenshot, check browser console for any error and share it with us. |
Please confirm if bug report does NOT exist already ?
Steps to reproduce ?
We are facing a strange bug and so far also struggle to clearly reproduce it.
What seems to happen is that one of our users loses access to a base.
Here are the permissions as they have been set up:
From time to time, the user in question faces this error
Or is able to access the base and the tables included but cannot see any values.
On the admin side, we can see that when this happens, all user permissions seem to get set to "No Access"
Strangely, the permissions of the user in question are still at "Editor" and the "Date joined" is reset.
What we tried so far:
When I (admin) log out and in again, the permissions are at least displayed correctly again. It seems that this behavior is actually triggered when the user connects but we will investigate this a bit further to be sure.
Desired Behavior
Permissions should stick and not change without manual intervention.
Project Details
Node: v20.11.1
Arch: x64
Platform: linux
Docker: true
RootDB: pg
PackageVersion: 0.204.5
Attachments
No response
The text was updated successfully, but these errors were encountered: