public class AuthzSakai2Impl extends AuthzSectionsImpl implements org.sakaiproject.tool.gradebook.facades.Authz
| Modifier and Type | Field and Description |
|---|---|
static String |
PERMISSION_EDIT_ASSIGNMENTS |
static String |
PERMISSION_GRADE_ALL |
static String |
PERMISSION_GRADE_SECTION |
static String |
PERMISSION_VIEW_OWN_GRADES |
| Constructor and Description |
|---|
AuthzSakai2Impl() |
| Modifier and Type | Method and Description |
|---|---|
void |
init()
Perform authorization-specific framework initializations for the Gradebook.
|
boolean |
isUserAbleToEditAssessments(String gradebookUid) |
boolean |
isUserAbleToGrade(String gradebookUid) |
boolean |
isUserAbleToGrade(String gradebookUid,
String userUid) |
boolean |
isUserAbleToGradeAll(String gradebookUid) |
boolean |
isUserAbleToGradeAll(String gradebookUid,
String userUid) |
boolean |
isUserAbleToGradeSection(String sectionUid)
When group-scoped permissions are available, this is where
they will go.
|
boolean |
isUserAbleToViewOwnGrades(String gradebookUid) |
findMatchingEnrollmentsForItem, findMatchingEnrollmentsForItemForUser, findMatchingEnrollmentsForViewableCourseGrade, findMatchingEnrollmentsForViewableItems, findStudentSectionMemberships, getAllSections, getAuthn, getGradebookPermissionService, getGradeViewFunctionForUserForStudentForItem, getSectionAwareness, getStudentSectionMembershipNames, getViewableSections, isUserAbleToGradeItemForStudent, isUserAbleToViewItemForStudent, isUserHasGraderPermissions, isUserHasGraderPermissions, isUserHasGraderPermissions, isUserHasGraderPermissions, setAuthn, setGradebookPermissionService, setSectionAwarenessclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindMatchingEnrollmentsForItem, findMatchingEnrollmentsForItemForUser, findMatchingEnrollmentsForViewableCourseGrade, findMatchingEnrollmentsForViewableItems, findStudentSectionMemberships, getAllSections, getGradeViewFunctionForUserForStudentForItem, getStudentSectionMembershipNames, getViewableSections, isUserAbleToGradeItemForStudent, isUserAbleToViewItemForStudent, isUserHasGraderPermissions, isUserHasGraderPermissions, isUserHasGraderPermissions, isUserHasGraderPermissionspublic static final String PERMISSION_GRADE_ALL
public static final String PERMISSION_GRADE_SECTION
public static final String PERMISSION_EDIT_ASSIGNMENTS
public static final String PERMISSION_VIEW_OWN_GRADES
public void init()
public boolean isUserAbleToGrade(String gradebookUid)
isUserAbleToGrade in interface org.sakaiproject.tool.gradebook.facades.AuthzisUserAbleToGrade in class AuthzSectionsImplpublic boolean isUserAbleToGrade(String gradebookUid, String userUid)
isUserAbleToGrade in interface org.sakaiproject.tool.gradebook.facades.AuthzisUserAbleToGrade in class AuthzSectionsImplpublic boolean isUserAbleToGradeAll(String gradebookUid)
isUserAbleToGradeAll in interface org.sakaiproject.tool.gradebook.facades.AuthzisUserAbleToGradeAll in class AuthzSectionsImplpublic boolean isUserAbleToGradeAll(String gradebookUid, String userUid)
isUserAbleToGradeAll in interface org.sakaiproject.tool.gradebook.facades.AuthzisUserAbleToGradeAll in class AuthzSectionsImplpublic boolean isUserAbleToGradeSection(String sectionUid)
public boolean isUserAbleToEditAssessments(String gradebookUid)
isUserAbleToEditAssessments in interface org.sakaiproject.tool.gradebook.facades.AuthzisUserAbleToEditAssessments in class AuthzSectionsImplpublic boolean isUserAbleToViewOwnGrades(String gradebookUid)
isUserAbleToViewOwnGrades in interface org.sakaiproject.tool.gradebook.facades.AuthzisUserAbleToViewOwnGrades in class AuthzSectionsImplCopyright © 2003-2015 Sakai Project. All Rights Reserved.