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

Permissions on doors #13

Open
zymurgic opened this issue Nov 15, 2018 · 1 comment
Open

Permissions on doors #13

zymurgic opened this issue Nov 15, 2018 · 1 comment
Assignees

Comments

@zymurgic
Copy link

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.

@mich181189 mich181189 self-assigned this Nov 15, 2018
@mich181189
Copy link
Contributor

First thoughts (from IRC):

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

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