Closed kaalbhairava closed 3 years ago
User permissions take effect immediately. I'm not able to test your reported issue because the steps you've provided above are not sufficiently detailed. Please revise your post above to state exactly what you are doing at each step, starting with the initial user creation.
Apology for not providing the exact details. Following are the steps I performed from Netbox Administration Page:
TestUser1
TestUser1
after creation.TestUser1
in Netbox , the given permission is getting reflected and I can perform view, add, change, delete actionsTestUser1
to ReadOnlyTestUser1
, but I could still add IPAddresses and prefixes. After 20-30 mins the permission changes were reflected on the front end and now I could only view.** suspecting that somewhere something is getting cached because of which changes are not reflecting on front end immedately.
Marking this as blocked by #6639 as it's believed to be a caching bug.
This will be fixed in v3.0 with the removal of queryset caching. The workaround in the interim is to set CACHE_TIMEOUT = 0
in configuration.py
.
This should be already fixed v2.11.10, see #6781
Note that #6781 just disables caching by default where CACHE_TIMEOUT
is not set in configuration.py
. If it's already been set on an existing installation, the change will have no effect: It still needs to be modified manually.
NetBox version
v2.11.3
Python version
3.6
Steps to Reproduce
Expected Behavior
user should be able to view only what is given in read-only permission
Observed Behavior
user still has the read-write permission and permission changes don't reflect immediately.