Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Duplicate Groupname Checker #59

Open
jacobdadams opened this issue Sep 9, 2021 · 2 comments
Open

Create Duplicate Groupname Checker #59

jacobdadams opened this issue Sep 9, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@jacobdadams
Copy link
Member

Add another org-wide checker to identify duplicate groupnames. Long-term solution to #45.

@jacobdadams jacobdadams added the enhancement New feature or request label Sep 9, 2021
@jacobdadams jacobdadams self-assigned this Sep 9, 2021
@steveoh
Copy link
Member

steveoh commented Sep 9, 2021

Group names are not uniquely enforced in Hub or we are able to have "duplicates" because of how auditor looks for groups?

@jacobdadams
Copy link
Member Author

Group names are not unique within an AGOL organization, and auditor looks for groups within the whole organization (groups = self.gis.groups.search('title:*')). I'll need to check to see if we can add an owner parameter to that search string; that may allow us to restrict it to groups owned by the UtahAGRC user.

It's similar to the duplicate item name check—internally, it appears to rely on the ItemID for uniqueness, and everything else is fair game.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants