public class ProjectControl.ForProjectImpl extends PermissionBackend.ForProject
db| Constructor and Description |
|---|
ForProjectImpl() |
| Modifier and Type | Method and Description |
|---|---|
PermissionBackend.ForChange |
change(ChangeData cd) |
PermissionBackend.ForChange |
change(ChangeNotes notes) |
void |
check(ProjectPermission perm)
Verify scoped user can
perm, throwing if denied. |
PermissionBackend.ForRef |
ref(String ref) |
Set<ProjectPermission> |
test(Collection<ProjectPermission> permSet)
Filter
permSet to permissions scoped user might be able to perform. |
PermissionBackend.ForProject |
user(CurrentUser user) |
indexedChange, test, testCond, testOrFalsedatabase, databasepublic PermissionBackend.ForProject user(CurrentUser user)
user in class PermissionBackend.ForProjectuser.public PermissionBackend.ForRef ref(String ref)
ref in class PermissionBackend.ForProjectref in this project.public PermissionBackend.ForChange change(ChangeData cd)
change in class PermissionBackend.ForProjectpublic PermissionBackend.ForChange change(ChangeNotes notes)
change in class PermissionBackend.ForProjectpublic void check(ProjectPermission perm) throws AuthException, PermissionBackendException
PermissionBackend.ForProjectperm, throwing if denied.check in class PermissionBackend.ForProjectAuthExceptionPermissionBackendExceptionpublic Set<ProjectPermission> test(Collection<ProjectPermission> permSet) throws PermissionBackendException
PermissionBackend.ForProjectpermSet to permissions scoped user might be able to perform.test in class PermissionBackend.ForProjectPermissionBackendException