Table of Contents |
---|
Users and Roles
Open-AudIT has moved away from providing access via the group system to a more flexible system using Roles.
...
An example of a database record for a Role is below (in this case, the org_admin Role).
Code Block | ||
---|---|---|
| ||
id: 2 name: org_admin description: This role is used for administration of endpoints that contain an org_id. permissions: {"charts":"crud","connections":"crud","credentials":"crud","summaries":"crud","devices":"crud","discoveries":"crud","fields":"crud","files":"crud","graph":"crud","groups":"crud","invoice":"crud","licenses":"crud","locations":"crud","networks":"crud","orgs":"crud","queries":"crud","scripts":"crud","search":"crud","sessions":"crud","users":"crud"} ad_group: open-audit_roles_org_admin edited_by: system edited_date: 2016-11-30 15:42:42 |
A user record from the database is below (in this case the Admin user).
Code Block | ||
---|---|---|
| ||
id: 1 name: admin org_id: 1 password: 0ab0a153e5bbcd80c50a02da8c97f3c87686eb8512f5457d30e328d2d4448c8968e9f4875c2eb61356197b851dd33f90658b20b32139233b217be54d903ca3b6 full_name: Administrator email: admin@openaudit roles: ["admin","org_admin"] orgs: [1] lang: en active: y edited_by: ldap: edited_date: 2000-01-01 00:00:00 |
...