class DocumentPermissionRules extends BasePermissionRules {

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

}