Privileges in LIMP are the definitions of the users' access level.
Every LIMP module in your app has its defined privileges as we explored in LIMP module reference. The default privileges are read, create, update, delete, and admin. However, you can define more and make use of these privileges per your needs.
To give privileges to users, you either give them these privileges as part of their default_privileges config of your LIMP app, or alternatively create a new group with the privileges being provisioned to the users who would be part of the new group later.
A privileges value looks like this:
{
'module_name':['privilege_1', 'privilege_2', ..., 'privilege_n']
}There's also a wild card privilege definition. This is helpful when you want to give the users all the privileges available for a module:
{
'module_name':'*'
}This wild card definition gets dynamically expanded to all the privileges of the module.
And, by mixing these two formats you get easy to read and analyse set of privileges as lists or wild card definitions to every module in a unified privileges dict.