issues
search
crusttech
/
crust-server
Apache License 2.0
87
stars
21
forks
source link
Updates to system-cli
#100
Closed
titpetric
closed
5 years ago
titpetric
commented
5 years ago
[x] create
cli
packages under the respective services.
[x] use spf13/cobra for command management
[x] add command to reset/recreate Administrators (ID:2) and Everyone (ID:1) roles if they do not exist
[x] add command to reset permissions (admin role gets all permissions set to allow, everyone role gets basics -- see .sql files)
[x] assigns all OR specific users (by ID or email) to a specific role
See cmd/system-cli code and follow the pattern.
cli
packages under the respective services.See cmd/system-cli code and follow the pattern.