public class AuthzSectionsImpl extends Object implements Authz
PERMISSION_EDIT_ASSIGNMENTS, PERMISSION_GRADE_ALL, PERMISSION_GRADE_SECTION, PERMISSION_VIEW_OWN_GRADES, PERMISSION_VIEW_STUDENT_NUMBERS| Constructor and Description |
|---|
AuthzSectionsImpl() |
public boolean isUserAbleToGrade(String gradebookUid)
isUserAbleToGrade in interface Authzpublic boolean isUserAbleToGrade(String gradebookUid, String userUid)
isUserAbleToGrade in interface Authzpublic boolean isUserAbleToGradeAll(String gradebookUid)
isUserAbleToGradeAll in interface Authzpublic boolean isUserAbleToGradeAll(String gradebookUid, String userUid)
isUserAbleToGradeAll in interface Authzpublic boolean isUserHasGraderPermissions(String gradebookUid)
isUserHasGraderPermissions in interface Authzpublic boolean isUserHasGraderPermissions(Long gradebookId)
isUserHasGraderPermissions in interface Authzpublic boolean isUserHasGraderPermissions(String gradebookUid, String userUid)
isUserHasGraderPermissions in interface Authzpublic boolean isUserHasGraderPermissions(Long gradebookId, String userUid)
isUserHasGraderPermissions in interface Authzpublic boolean isUserAbleToEditAssessments(String gradebookUid)
isUserAbleToEditAssessments in interface Authzpublic boolean isUserAbleToViewOwnGrades(String gradebookUid)
isUserAbleToViewOwnGrades in interface Authzpublic boolean isUserAbleToViewStudentNumbers(String gradebookUid)
isUserAbleToViewStudentNumbers in interface Authzpublic String getGradeViewFunctionForUserForStudentForItem(String gradebookUid, Long itemId, String studentUid)
getGradeViewFunctionForUserForStudentForItem in interface Authzpublic boolean isUserAbleToGradeItemForStudent(String gradebookUid, Long itemId, String studentUid) throws IllegalArgumentException
isUserAbleToGradeItemForStudent in interface AuthzIllegalArgumentExceptionpublic boolean isUserAbleToViewItemForStudent(String gradebookUid, Long itemId, String studentUid) throws IllegalArgumentException
isUserAbleToViewItemForStudent in interface AuthzIllegalArgumentExceptionpublic List getViewableSections(String gradebookUid)
getViewableSections in interface Authzpublic List getAllSections(String gradebookUid)
getAllSections in interface Authzpublic Map findMatchingEnrollmentsForItem(String gradebookUid, Long categoryId, int gbCategoryType, String optionalSearchString, String optionalSectionUid)
findMatchingEnrollmentsForItem in interface Authzpublic Map findMatchingEnrollmentsForItemForUser(String userUid, String gradebookUid, Long categoryId, int gbCategoryType, String optionalSearchString, String optionalSectionUid)
findMatchingEnrollmentsForItemForUser in interface Authzpublic Map findMatchingEnrollmentsForViewableCourseGrade(String gradebookUid, int gbCategoryType, String optionalSearchString, String optionalSectionUid)
findMatchingEnrollmentsForViewableCourseGrade in interface Authzpublic Map findMatchingEnrollmentsForViewableItems(String gradebookUid, List allGbItems, String optionalSearchString, String optionalSectionUid)
findMatchingEnrollmentsForViewableItems in interface Authzpublic List findStudentSectionMemberships(String gradebookUid, String studentUid)
findStudentSectionMemberships in interface Authzpublic List getStudentSectionMembershipNames(String gradebookUid, String studentUid)
getStudentSectionMembershipNames in interface Authzpublic Authn getAuthn()
public void setAuthn(Authn authn)
public SectionAwareness getSectionAwareness()
public void setSectionAwareness(SectionAwareness sectionAwareness)
public GradebookPermissionService getGradebookPermissionService()
public void setGradebookPermissionService(GradebookPermissionService gradebookPermissionService)
Copyright © 2003–2022 Sakai Project. All rights reserved.