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
TestActionAuth (in test_coding_standards.py) checks whether each action has a corresponding auth function, not all do. In additing auth functions for these just returning success: True is probably the right thing to do so that they can easily be overridden. Otherwise these may cause problems when trying to override auth functions unless the auth_audit_exempt decorator is used.
Sometimes it is because actions like organization_activity_list check auth against organization_show, perhaps we should have the organization_activity_list auth function and have it decide to delegate to organization_show?
The text was updated successfully, but these errors were encountered:
TestActionAuth (in test_coding_standards.py) checks whether each action has a corresponding auth function, not all do. In additing auth functions for these just returning success: True is probably the right thing to do so that they can easily be overridden. Otherwise these may cause problems when trying to override auth functions unless the auth_audit_exempt decorator is used.
Sometimes it is because actions like organization_activity_list check auth against organization_show, perhaps we should have the organization_activity_list auth function and have it decide to delegate to organization_show?
The text was updated successfully, but these errors were encountered: