INNOV-AI

Innovation and Research from Réunion Island, France

Back   Home

FX - Group @ SOA - Service Oriented Architecture @ MentDB Weak

> Start the server
> (or start the server for the first time (embedded mode - H2 Database))
> (or start the server for the first time (remote mode - MySQL 8 Database))
> Open the MentDB Weak Editor

Group
group add group create|insert|addgroup existgroup grant usergroup grant scriptgroup grant_all scriptgroup ungrant_all scriptgroup is granted usergroup is granted scriptgroup getgroup get usergroup get scriptgroup showgroup ungrant usergroup ungrant scriptgroup remove

group add <groupName>


Synonymous

    group create|insert|add

Description

    To add a new group

Parameters

    groupName:   The group name - string - required
admin
group add "test";
mentdb
Group added with successful.

group exist <groupName>


Description

    To check if a group exist

Parameters

    groupName:   The group name - string - required
admin
group exist "test"
mentdb
1

group grant user <login> <groupName>


Description

    To grant a user to a group

Parameters

    login:   The login - string - required
    groupName:   The group name - string - required
admin
group grant user "admin" "test";
mentdb
User granted with successful.

group grant script <scriptName> <groupName>


Description

    To grant a script to a group

Parameters

    scriptName:   The script name - string - required
    groupName:   The group name - string - required
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 ..."; group grant script "addition.post" "test"
mentdb
Script granted with successful.

group grant_all script <script_starts_with> <groupName>


Description

    To grant all script whitch starts with a string to a group

Parameters

    script_starts_with:   The script name starts with - string - required
    groupName:   The group name - string - required
admin
group grant_all script "addition." "test";
mentdb
Scripts granted with successful.

group ungrant_all script <script_starts_with> <groupName>


Description

    To ungrant all script whitch starts with a string to a group

Parameters

    script_starts_with:   The script name starts with - string - required
    groupName:   The group name - string - required
admin
group ungrant_all script "addition." "test";
mentdb
Scripts ungranted with successful.

group is granted user <login> <groupName>


Description

    To check if a user granted to a group

Parameters

    login:   The login - string - required
    groupName:   The group name - string - required
admin
group is granted user "admin" "test"
mentdb
1

group is granted script <scriptName> <groupName>


Description

    To check if a script granted to a group

Parameters

    scriptName:   The script name - string - required
    groupName:   The group name - string - required
admin
group is granted script "addition.post" "test"
mentdb
1

group get <groupName>


Description

    To get the group

Parameters

    groupName:   The group name - string - required
admin
group get "test"
mentdb
{ "c": "admin", "k": "test", "scripts": { "addition.post": 0 }, "users": { "admin": 0 } }

group get user <groupName>


Description

    To get users from a group

Parameters

    groupName:   The group name - string - required
admin
group get user "test"
mentdb
{ "admin": 0 }

group get script <groupName>


Description

    To get scripts from a group

Parameters

    groupName:   The group name - string - required
admin
group get script "test"
mentdb
{ "addition.post": 0 }

group show


Description

    To show all groups

admin
group show
mentdb
{ "app": 0, "luc-yann": 0, "lib": 0, "test": 0, "luc-yann2": 0, "ai": 0, "admin": 0, "cm": 0, "sys": 0, "sample": 0, "api-mql": 0, "api-rest": 0, "bob2": 0, "public": 0, "bob": 0, "api-ai": 0, "mentdb": 0 }

group ungrant user <login> <groupName>


Description

    To ungrant a user to a group

Parameters

    login:   The login - string - required
    groupName:   The group name - string - required
admin
group ungrant user "admin" "test";
mentdb
User ungranted with successful.

group ungrant script <scriptName> <groupName>


Description

    To ungrant a script to a group

Parameters

    scriptName:   The script name - string - required
    groupName:   The group name - string - required
admin
group ungrant script "addition.post" "test";
mentdb
Script ungranted with successful.

group remove <groupName>


Description

    To remove a group

Parameters

    groupName:   The group name - string - required
admin
group remove "test";
mentdb
Group removed with successful.
start: 2026-02-02   end: 2026-02-02   v_start: 401   v_end: