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
When using saas.decorators.fail_direct as a rule, the various RoleDescription in the database for which organization_id is NULL are not showing up as options in the rules dashboard.
The problem stems from this query in rules.views.app:
role descriptions which are global by nature use organization_id == NULL so the queryset returned is empty here. We cannot blindly add the is_null condition either otherwise a duplicate rule is created for Direct Managers - once through the queryset and once through fail_direct_strong.
The text was updated successfully, but these errors were encountered:
When using saas.decorators.fail_direct as a rule, the various
RoleDescription
in the database for whichorganization_id
isNULL
are not showing up as options in the rules dashboard.The problem stems from this query in rules.views.app:
role descriptions which are global by nature use
organization_id == NULL
so the queryset returned is empty here. We cannot blindly add theis_null
condition either otherwise a duplicate rule is created forDirect Managers
- once through the queryset and once through fail_direct_strong.The text was updated successfully, but these errors were encountered: