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

TOOLS-2468 jr should check for teams access #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

timfoster
Copy link
Contributor

No description provided.

@timfoster
Copy link
Contributor Author

I'm not sure if we should go to town here and add a new subcommand to add teams to repos. What do you think?

@timfoster timfoster requested a review from trentm May 20, 2020 14:07
Copy link
Contributor

@trentm trentm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

triton-dev: error (access.missing_permission): Joyent team "joyent-engineering" was present, but was missing "push" ("Write" in the GUI) permission. Fix this via "Manage Access"

Is slightly misleading when @joyent-engineering currently has "Admin" access per https://github.com/joyent/triton-dev/settings/access


It would perhaps be nice to give the access URL rather than via "Manage Access"?

function checkEngineeringTeamsAccess(ctx, next) {
checkTeamAccess('joyent-engineering', 'push', ctx, next);
},
function checkOwnersTeamsAccess(ctx, next) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely want to drop this one. See comment on the ticket.

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