makefile: permissions implemented.
parent
9ce976afc6
commit
8bcae74efc
10
makefile
10
makefile
|
@ -35,6 +35,16 @@ add-first-user:
|
|||
add-user:
|
||||
./bin/authc user add $(NAME) $(EMAIL) $(LOGIN_OPT)
|
||||
|
||||
SERVICE ?= 'auth'
|
||||
RESOURCE ?= '*'
|
||||
UID ?= 1000
|
||||
permission-check:
|
||||
./bin/authc permission check $(UID) $(SERVICE) $(RESOURCE) $(LOGIN_OPT)
|
||||
|
||||
PERMISSION ?= Read
|
||||
permission-set:
|
||||
./bin/authc permission set $(UID) $(SERVICE) $(RESOURCE) $(PERMISSION) $(LOGIN_OPT)
|
||||
|
||||
|
||||
###################
|
||||
### DEVELOPER TOOLS
|
||||
|
|
Loading…
Reference in New Issue