[tests] Update TestMultitenantAdminMixin to use default operator group
See original GitHub issueIn this test utility code (which is reused across openwisp modules):
The test expects the permission of the operator to be defined as a class attribute.
This is obsolete, because in more recent versions of OpenWISP we added two default auth.Group instances
: operator and administrator.
- update the test method to assign those groups
- remove
operator_permission_filters = []
- remove
get_operator_permissions
Open a pull request in each openwisp module to remove the operator_permission_filters
and ensuring the new code works: https://github.com/search?q=org%3Aopenwisp+operator_permission_filters&type=Code
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Operator groups | Operators | OpenShift Container Platform 4.8
This guide outlines the use of Operator groups with Operator Lifecycle Manager (OLM) in OpenShift Container Platform.
Read more >Chapter 2. Understanding Operators - Red Hat Customer Portal
Operator Lifecycle Manager (OLM) controls the installation, upgrade, and role-based access control (RBAC) of Operators in a cluster. Deployed by default in ...
Read more >Explained - Community operators
Testing your Operator with Operator Framework ... If you are using the packagemanifest format, don't forget to update the package.yaml file ...
Read more >Operator scoping with OperatorGroups
By default, an operator can specify any set of permission(s) in the CSV and OLM will ... An admin may create a single...
Read more >Account operators group in Active Directory - Microsoft Q&A
Can you explain me where is the risk with that group please ? Can someone escalade to admin account or privilege with this...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am working on this Issue 😊
Okay, I will assign the appropriate permissions and then open a PR