User Management

Post Reply
Steffenadensis
Posts: 31
Joined: Tue Jul 29, 2014 11:42 am

User Management

Post by Steffenadensis » Thu Sep 18, 2014 5:55 pm

Hello,

how to create new Users and grand them rights :?:
Kind regards

T. Steffen

Operating system: Debian GNU/Linux 7.6 (wheezy)

User avatar
Marco Grawunder
Posts: 272
Joined: Tue Jul 29, 2014 10:29 am
Location: Oldenburg, Germany
Contact:

Re: User Management

Post by Marco Grawunder » Fri Sep 19, 2014 8:11 am

This feature is not really well tested (we typically use the system-user) and is not documented at the moment but is possible with CQL:

Create a new user:

create <user> identified by <password>

Grand rights or roles

grant role <rolename> to <user>
or
grant <right1>,<right2>,...<rightn> to <user>

Only predefined role is DSUser

The list of rights can be found in the source code, everthing that implements the interface IPermission.

ConfigurationPermission: SET_PARAM, SAVE_PARAM if for Odysseus Script to change Odysseus-Configurations

DataDictionaryPermission (For Source definitions): ADD_ENTITY, GET_ENTITY, REMOVE_ENTITY, ADD_DATATYPE, ADD_SOURCETYPE, ADD_STREAM, REMOVE_STREAM, REMOVE_VIEW, ADD_VIEW, READ, ADD_STORED_PROCEDURE, REMOVE_STORED_PROCEDURE, EXECUTE, GET_ALL, REMOVE_ALL

ExecutorPermission (For Handling Queries): ADD_QUERY, START_QUERY, STOP_QUERY, REMOVE_QUERY, SUSPEND_QUERY, RESUME_QUERY, PARTIAL_QUERY, START_ALL_QUERIES, STOP_ALL_QUERIES, REMOVE_ALL_QUERIES, GET_ALL_QUERIES

UpdatePermission (For updating Odysseus): UPDATE, INSTALL, REMOVE, LIST

UserManagementPermission (for UserManagement): CREATE_TENANT, CREATE_USER, ALTER_USER, DELETE_USER, DEACTIVATE_USER, SET_SYSTEM_USER, CREATE_ROLE, DELETE_ROLE, GRANT, GRANT_ALL, REVOKE, REVOKE_ALL, GRANT_ROLE, REVOKE_ROLE, LOGOUT, GET_ALL_USER, GET_ALL, SUDO_LOGIN

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest