Skip to content

Added field for user permissions#35

Merged
TylerMizuyabu merged 2 commits into
mainfrom
allow-giving-individual-user-access
Apr 3, 2024
Merged

Added field for user permissions#35
TylerMizuyabu merged 2 commits into
mainfrom
allow-giving-individual-user-access

Conversation

@TylerMizuyabu

Copy link
Copy Markdown
Contributor

Pr adds a field to allow giving individual users permissions to a repository. I didn't provide a default permissions property that would apply these permissions to all repositories in the repository set like we do for teams because the use case for using this field would probably be less of a blanket permission assignment but more of a precise permission assignment to a repository.

This PR also makes both permissions fields optional so repositories can be created with no explicit permissions for anyone. This would lock out everyone except users in the organization that have been given access to repositories through their organization role. Ex: organization admins. I figured this is a sane default and would allow people to bring their repositories into the toolkit incrementally by not having to make them define permissions if they don't want to.

@TylerMizuyabu TylerMizuyabu merged commit 75f4f37 into main Apr 3, 2024
@TylerMizuyabu TylerMizuyabu deleted the allow-giving-individual-user-access branch April 3, 2024 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants