Skip to content

Commit

Permalink
Adds user_roles predefined attribute description
Browse files Browse the repository at this point in the history
  • Loading branch information
davide-zerbetto committed Oct 25, 2018
1 parent 8d34584 commit 2a09cd2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion functionalities-guide/behavioural-model/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ This means that if you are the food manager and your user has the profile attrib

There are some standard profile attributes always avaiable that dont' need to be defined for each user. These profile attributes are:

- *user_id* containts the user id of the logged in user
- *user_id* contains the user id of the logged in user
- *user_roles* contains the current user's roles, joined as a SQL IN clause fashion, for example: 'general_management','human_resources_management'
- *TENANT_ID* contains the tenant to which the user belongs

Note that an information button and a profile attribute button are available to guide user in writing the code properly, using the syntax correctly and typing the right profile attribute name.
Expand Down

0 comments on commit 2a09cd2

Please sign in to comment.