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

feat: ADMIN message type #19

Open
JarbasAl opened this issue Dec 23, 2024 · 0 comments
Open

feat: ADMIN message type #19

JarbasAl opened this issue Dec 23, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@JarbasAl
Copy link
Member

is_admin property has been stubbed for each client in db but is not used,

  • add ADMIN HiveMessage type,
  • when sent from master -> client , can change any of the values in identity file
    • port / host -> change device to a different server
    • key / password -> rotate credentials for security
    • is_admin state -> revoke/grant permission to emit ADMIN messages
  • when sent from client -> master:
    • only allowed if client is_admin
    • list connected clients
    • CRUD operations on db

additionally admin clients in db should have different default allowed_messages at creation time (eg, allow system.reboot and system.shutdown)

@JarbasAl JarbasAl added the enhancement New feature or request label Dec 23, 2024
@JarbasAl JarbasAl self-assigned this Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant