class DocumentPermissionRules extends BasePermissionRules {

    @PermissionRule(value = "UPLOAD_DOCUMENT", description = "Project Manager can upload document for their project")
    public boolean projectManagerCanUploadDocument(ProjectResource project, UserResource user) {
        return isProjectManager(project.getId(), user.getId());
    }

}