You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if tool.type == TYPE_DOOR:
perm='user'
else
perm='unauthorised'
if u:
So that regular doors that let any member in should show 'user' on the tool access on the website. Restricted doorbots and tools should behave as currently.
The text was updated successfully, but these errors were encountered:
perm='unauthorized'
6:42 PM if door:
6:42 PM perm='user'
6:42 PM else if u:
6:42 PM # existing stuff
6:43 PM where it currently has:
6:43 PM perm = 'unauthorised'
6:43 PM if u
views.py:401 it defaults perm='unauthorised'
We need something like
if tool.type == TYPE_DOOR:
perm='user'
else
perm='unauthorised'
if u:
So that regular doors that let any member in should show 'user' on the tool access on the website. Restricted doorbots and tools should behave as currently.
The text was updated successfully, but these errors were encountered: