makefile: permissions implemented.

This commit is contained in:
Philippe Pittoli 2023-06-15 00:03:12 +02:00
parent 9ce976afc6
commit 8bcae74efc

View File

@ -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