An implementation of Gradebook-specific authorization needs based
on a combination of fine-grained site-scoped Sakai permissions and the
shared Section Awareness API. This is a transtional stage between
coarse-grained site-and-role-based authz and our hoped-for fine-grained
role-determined group-scoped authz.
Perform authorization-specific framework initializations for the Gradebook.
isUserAbleToEditAssessments
public boolean isUserAbleToEditAssessments(String gradebookUid)(Code)
isUserAbleToGrade
public boolean isUserAbleToGrade(String gradebookUid)(Code)
isUserAbleToGradeAll
public boolean isUserAbleToGradeAll(String gradebookUid)(Code)
isUserAbleToGradeSection
public boolean isUserAbleToGradeSection(String sectionUid)(Code)
When group-scoped permissions are available, this is where
they will go. My current assumption is that the call will look like:
return hasPermission(sectionUid, PERMISSION_GRADE_ALL);
isUserAbleToViewOwnGrades
public boolean isUserAbleToViewOwnGrades(String gradebookUid)(Code)
Methods inherited from org.sakaiproject.tool.gradebook.facades.sections.AuthzSectionsImpl