Security Groups¶
Security groups can be defined in the app model to create permissions for app functionality. These permissions can be granted in Security Groups by Permission Set in Solution Manager. For each app there will be one or several security groups created for the app.
This allows a customer to disallow a user role from accessing functionality by hiding screens and commands. Entities, functions and actions can also be disallowed which will stop data being sent to the device and cause any server call to the action / function to fail. If a command uses a function or action that is disallowed it will also be hidden from the user.
Example security groups definition:
securitygroups {
securitygroup Companies {
entity CrmProjection.Company;
navigatorentry CrmClient.Company;
}
securitygroup Customers {
entity CrmProjection.Customer;
navigatorentry CrmClient.Customers;
command CrmClient.ShowCompanyCustomers;
}
securitygroup CustomerEmail {
action CrmProjection.EmailCustomer;
}
}