admin
group add "test";
mentdb
Group added with successful.
admin
group exist "test"
mentdb
1
admin
group grant user "admin" "test";
mentdb
User granted with successful.
admin
script create post "addition" false 1 (param (var "[v1]" {type is_double [v1]} "description ..." is_null:true is_empty:true "example ...") (var "[v2]" {type is_double [v2]} "description ..." is_null:true is_empty:true "example ...") ) "description ..." { + [v1] [v2]; } "Return ...";<br>group grant script "addition.post" "test"
mentdb
Script granted with successful.
admin
group grant_all script "addition." "test";
mentdb
Scripts granted with successful.
admin
group ungrant_all script "addition." "test";
mentdb
Scripts ungranted with successful.
admin
group is granted user "admin" "test"
mentdb
1
admin
group is granted script "addition.post" "test"
mentdb
1
admin
group get "test"
mentdb
{<br> "c": "admin",<br> "k": "test",<br> "scripts": {<br> "addition.post": 0<br> },<br> "users": {<br> "admin": 0<br> }<br>}
admin
group get user "test"
mentdb
{<br> "admin": 0<br>}
admin
group get script "test"
mentdb
{<br> "addition.post": 0<br>}
admin
group show
mentdb
{<br> "app": 0,<br> "luc-yann": 0,<br> "lib": 0,<br> "test": 0,<br> "luc-yann2": 0,<br> "ai": 0,<br> "admin": 0,<br> "cm": 0,<br> "sys": 0,<br> "sample": 0,<br> "api-mql": 0,<br> "api-rest": 0,<br> "bob2": 0,<br> "public": 0,<br> "bob": 0,<br> "api-ai": 0,<br> "mentdb": 0<br>}
admin
group ungrant user "admin" "test";
mentdb
User ungranted with successful.
admin
group ungrant script "addition.post" "test";
mentdb
Script ungranted with successful.
admin
group remove "test";
mentdb
Group removed with successful.