Show the approval rights for a project in the project admin screen
This way its clear what rights have been granted out on this project to any existing groups. If the right isn't given to the magic wildcard project then the right can be deleted from the project. Wildcard rights must be managed by the site administrators only, and may initially only be available from within the raw database. Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
@@ -50,6 +50,10 @@ public final class ProjectRight {
|
||||
return projectId;
|
||||
}
|
||||
|
||||
public Project.Id getProjectId() {
|
||||
return projectId;
|
||||
}
|
||||
|
||||
@Override
|
||||
public com.google.gwtorm.client.Key<?>[] members() {
|
||||
return new com.google.gwtorm.client.Key<?>[] {categoryId, groupId};
|
||||
@@ -76,6 +80,18 @@ public final class ProjectRight {
|
||||
return key;
|
||||
}
|
||||
|
||||
public Project.Id getProjectId() {
|
||||
return key.projectId;
|
||||
}
|
||||
|
||||
public ApprovalCategory.Id getApprovalCategoryId() {
|
||||
return key.categoryId;
|
||||
}
|
||||
|
||||
public AccountGroup.Id getAccountGroupId() {
|
||||
return key.groupId;
|
||||
}
|
||||
|
||||
public short getMinValue() {
|
||||
return minValue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user