-
Notifications
You must be signed in to change notification settings - Fork 3
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
Alter P2K16 to have door circles, similar to tools circles. #149
Comments
So we want an admin interface similar to tools for the buttons on the front page? |
I haven't thought it through yet, maybe it requires a meeting. But i guess
first would be to have support for several door circles, second would be to
show buttons for all circles the user is a member of on the "open" page.
…On Thu, Feb 11, 2021, 06:10 Andreas Marienborg ***@***.***> wrote:
So we want an admin interface similar to tools for the buttons on the
front page?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#149 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA4VBWJL6LWRQM6KSBJBDNTS6NQWBANCNFSM4XNXD2TA>
.
|
The doors are defined in the code, so the required circle can just be a part of the code. If we ever make the doors list a part of the database something tools like would be useful. |
@trygvis I thought that was the request here, to make it easier to add more doors..? |
@eliasbakken I guess one thing that needs to be thought about is who can add/administer circles for doors? Like if I set up a new lock on my office, we need to prevent someone else from just adding a new door with the same mqtt-topic etc? |
Nope, just have circle-based authorization in addition to the existing membership/office checks. |
This allows us to have a set of circles for each door, and without membership in that circle, you wont be able to open that door. This check does not apply to employees of companies, only for paying members. If you attempt to open multiple doors, none will open if you lack any of the circles. For now all doors have `door` only, this is intended used at BV9 to limit access to certain areas. bitraf/infrastructure#149
As a part of the moving to BV9 in September 2021, it would be good to have the possibility to add new door circles that can send messages on a specific topic similar to tools.
That way people can set up door locks on office doors in the old and new building.
The text was updated successfully, but these errors were encountered: