pclib  2.9.5
Lightweight PHP framework
ATERM commands

These commans can be used in authorization console or executed by function AuthConsole->execute(). You can even execute "batch" file by function AuthConsole->executeFile($filename).

help ... show this screen
cls ... clear console
+/- user username ... add/remove user
+/- role rolename ... add/remove role
+/- right rname ... add/remove right
-right rname "force" ... remove right even if it is in use
-role rname "force" ... remove role even if it is in use
+user username "fullname" ...add user, set his fullname
+user username "fullname|annot" ... as above (with annotation)
+role rolename "annot" ...add role with annotation
+right rightname "annot" ...add right with annotation
user username +/- role rolename ... assign/take away role from user
role rolename +/- right rname ... grant/revoke right for role
user username +/- right rname ... grant/revoke right for user
user/role name +right rname "rval" ... grant right with value
user username +dpassw ... enable default password
user username +dpassw "password" ... set default password
user username +passw "password" ... set password for user
user username +/- active ...enable/disable user
?user name/pattern ... return user info / users matching pattern
?role name/pattern ... return role info / roles matching pattern
?right name/pattern ... return right info / rights matching pattern
?user pattern +/- role/right name ... list of users with/without
particular role/right