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
In some cases, the AnVIL team adds their own people or groups to our resources (e.g., groups, workspace sharing, etc). How do we want to handle this?
Create an equivalent record in Django (e.g., sharing with the anvil-admins group)? Likely this would need to be done manually from the admin interface.
Implement a way to ignore certain records (e.g., if an AnVIL dev created a workspace, they may be marked an owner. This is ok and we don't want the record in the app). The audit could report the "ignored" resources but not consider them errors.
The text was updated successfully, but these errors were encountered:
After discussing with @smgogarten, for the second bullet (if we end up implementing this instead of just removing them):
Add a new model with two fields, workspace and EmailField. This model tracks which emails to ignore when auditing sharing records for a given workspace. This table should only be populated via the Admin interface, so no extra views are necessary.
Modify the Workspace.audit_sharing() method to ignore any emails in this table.
Modify AnVILAuditResults classes to handle ignored records - they should be tracked but reported as ignored.
Modify audit views to show ignored records but not mark them as errors.
Modify run_anvil_audit command to report ignored records only if --errors-only is not passed.
Make sure to add tests for case-insensitivity etc.
In some cases, the AnVIL team adds their own people or groups to our resources (e.g., groups, workspace sharing, etc). How do we want to handle this?
The text was updated successfully, but these errors were encountered: