Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

New permission for create project #902

Closed
wants to merge 3 commits into from

Conversation

alex-sl-eng
Copy link
Member

@@ -88,7 +88,7 @@ public static boolean canManageRoles(String target) {
/* Any authenticated user can create a project */
Copy link
Contributor

Choose a reason for hiding this comment

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

Update comment to match the new behaviour.

@davidmason
Copy link
Contributor

👍

"Could not create 'project-creator' role");
}
}

Copy link
Contributor

Choose a reason for hiding this comment

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

I think we are at (or past) the point where this bit of logic should be extracted into a method, called once for each role we want. (Or a for loop.)

@djansen-redhat
Copy link
Contributor

✅ Tested

@alex-sl-eng
Copy link
Member Author

Merged into integration/master. 7e90a9b

@alex-sl-eng alex-sl-eng closed this Jul 9, 2015
@alex-sl-eng alex-sl-eng deleted the rhbz1214502-project-creator branch July 9, 2015 04:23
@seanf
Copy link
Contributor

seanf commented Jul 9, 2015

Shouldn't the squash merge 7e90a9b have a name like "feat(role): New permission for create project" instead of "feat: role: New permission for create project"?

@alex-sl-eng
Copy link
Member Author

@seanf you're right.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
4 participants