You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which parses the permissions yaml and calls add_permissions_from_group_permissions, again with a user_model
This function creates a set called unique_user_group_identifiers which consists of the default groups and any groups that have a user defined in the yaml.
If user_model is defined and a user isn't added to a group in the yaml, and thus unique_user_group_identifiers, the permission assignment is skipped.
When using OpenID to manage users and groups, group permissions are not created on login.
On login
import_permissions_from_yaml_file
is called with auser_model
spiff-arena/spiffworkflow-backend/src/spiffworkflow_backend/services/authorization_service.py
Line 530 in 2965356
Which parses the permissions yaml and calls
add_permissions_from_group_permissions
, again with auser_model
This function creates a set called
unique_user_group_identifiers
which consists of the default groups and any groups that have a user defined in the yaml.If
user_model
is defined and a user isn't added to a group in the yaml, and thusunique_user_group_identifiers
, the permission assignment is skipped.spiff-arena/spiffworkflow-backend/src/spiffworkflow_backend/services/authorization_service.py
Lines 896 to 897 in 2965356
When using OpenID to manage groups, users shouldn't need to update users and group mappings in the YAML file as well.
The text was updated successfully, but these errors were encountered: