Add administrator features #72
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
luca0N/lanbassador#72
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The current database schema allows the assignment of administrative privileges to user accounts. Administrators should have access to administrative tools, which have not been developed yet.
This list should suffice for now. Changing server settings via the web UI is not possible in the current state, as all server settings are stored on disk, and not on the database.
A feature that allows administrators to give administrator privileges to other user accounts is tricky, since the current account privilege system in Lanbassador is primitive. For instance, a compromised administrator account could remove administrator privileges from another administrator accounts, and wreak havoc on the server.
To counter this, I believe the best solution is to disallow administrator accounts from removing administrator privileges from other accounts or deleting them (and show a warning in the web app about the consequences of giving another user such privileges). Instead, the removal or demoting of administrator accounts should be done from the server via the command line, either as a special command or command line argument to the server, or by invoking a new separate program which does the work. Of course, it would be possible for instance owners to modify everything manually in the database, but this would result in poor UX, plus, the command line solution could be expanded in the future to accommodate new features.