Roles Configuration |
Previous Next | Direct link to this topic |
|
The Roles Configuration feature allows you to control which SAP Business One data each user can access through the AI Assistant. By assigning users to roles, you can restrict their queries to specific tables and document types. SAP Superusers always have permissions to all tables.
Why Use RolesWithout role restrictions, users can query any table in your SAP Business One database. Roles allow you to limit access based on job function. For example, a sales representative might only need access to sales documents, while a warehouse worker might only need inventory data.
When a user with an assigned role asks a question, the AI will only generate queries against the tables allowed by that role. If the AI attempts to access a table outside the allowed list, the query will be blocked and the user will receive a message explaining that their role does not permit access to that data.
Predefined RolesB1UP includes several predefined roles, each configured with access to specific SAP Business One tables (check specific tables in the roles configuration):
Master TablesCertain tables are automatically available to all users regardless of their role assignment. These are called master tables and include common reference data such as business partners, items, sales employees, warehouses, item groups, payment terms, branch data, customer groups, projects, chart of accounts, countries, and units of measure.
Accessing Roles ConfigurationTo open the Roles Configuration form, click the settings icon in the AI Assistant widget and select "Roles Configuration". You need appropriate B1UP permissions to access this feature.
Assigning Users to RolesTo assign users to a role:
A user can be assigned to multiple roles. When a user has multiple roles, they can access all tables from all their assigned roles combined.
Enabling and Disabling RolesRole based access control is disabled by default. When disabled, all users have unrestricted access to query any table.
To enable role based access control:
When roles are enabled, users who are not assigned to any role will not be able to make data queries. Make sure to assign all users who need AI Assistant access to at least one role before enabling this feature. |