/ec/ECReviewBox/ |
H A D | config.py | 23 from Products.CMFCore import permissions namespace 53 # define permissions 54 ACCESS_PERMISSION = permissions.AccessContentsInformation 55 VIEW_PERMISSION = permissions.View 56 MODIFY_PERMISSION = permissions.ModifyPortalContent 57 ADD_PERMISSION = permissions.AddPortalContent 58 MANAGE_PERMISSION = permissions.ManageProperties
|
H A D | __init__.py | 13 from Products.CMFCore import permissions namespace 39 permission = permissions.AddPortalContent,
|
/ec/ECAssignmentBox/Products/ECAssignmentBox/ |
H A D | config.py | 19 from Products.CMFCore import permissions namespace 52 # extra permissions 54 permissions.setDefaultRoles(GradeAssignments, ('Manager',)) 57 permissions.setDefaultRoles(ViewAssignments, ('Manager',)) 62 permissions.setDefaultRoles(DEFAULT_ADD_CONTENT_PERMISSION, ('Manager', 'Owner')) 69 permissions.setDefaultRoles('ECAssignmentBox: Add ECFolder', ('Manager','Owner')) 70 permissions.setDefaultRoles('ECAssignmentBox: Add ECAssignmentBox', ('Manager','Owner')) 71 permissions.setDefaultRoles('ECAssignmentBox: Add ECAssignment', ('Manager','Owner'))
|
H A D | sharing.py | 13 from plone.app.workflow import permissions namespace 21 required_permission = permissions.DelegateRoles 27 required_permission = permissions.DelegateRoles
|
H A D | __init__.py | 30 from Products.CMFCore import permissions as cmfpermissions 82 # Give it some extra permissions to control them on a per class limit
|
/ec/ECAutoAssessmentBox/Products/ECAutoAssessmentBox/ |
H A D | config.py | 19 from Products.CMFCore import permissions namespace 60 permissions.setDefaultRoles(DEFAULT_ADD_CONTENT_PERMISSION, ('Manager', 'Owner')) 66 permissions.setDefaultRoles('ECAutoAssessmentBox: Add ECAutoAssessmentBox', ('Manager','Owner')) 67 permissions.setDefaultRoles('ECAutoAssessmentBox: Add ECAutoAssignment', ('Manager','Owner'))
|
H A D | __init__.py | 32 from Products.CMFCore import permissions as cmfpermissions 83 # Give it some extra permissions to control them on a per class limit
|
/ec/ECLecture/Products/ECLecture/ |
H A D | config.py | 19 from Products.CMFCore import permissions namespace 53 permissions.setDefaultRoles(DEFAULT_ADD_CONTENT_PERMISSION, ('Manager', 'Owner')) 54 permissions.setDefaultRoles('ECLecture: Add ECLecture', ('Manager','Owner'))
|
H A D | __init__.py | 21 from Products.CMFCore import permissions as cmfpermissions 55 # Give it some extra permissions to control them on a per class limit
|
/ec/ECQuiz/Products/ECQuiz/AnswerTypes/ |
H A D | ECQMCAnswer.py | 26 from Products.ECQuiz import permissions namespace 36 schema['id'].read_permission = permissions.PERMISSION_STUDENT 37 schema['answer'].read_permission = permissions.PERMISSION_STUDENT 54 #security.declareProtected(permissions.PERMISSION_STUDENT, 'getId')
|
H A D | ECQCorrectAnswer.py | 28 from Products.ECQuiz import permissions namespace 43 read_permission=permissions.PERMISSION_INTERROGATOR, 64 read_permission=permissions.PERMISSION_INTERROGATOR, 90 security.declareProtected(permissions.PERMISSION_STUDENT, 'isCorrect') 96 security.declareProtected(permissions.PERMISSION_STUDENT, 'getComment')
|
H A D | ECQSelectionAnswer.py | 28 from Products.ECQuiz import permissions namespace 55 read_permission=permissions.PERMISSION_STUDENT,
|
H A D | ECQScaleAnswer.py | 32 from Products.ECQuiz import permissions namespace 52 read_permission=permissions.PERMISSION_INTERROGATOR, 119 # FIXME: check permissions: only return something to 133 security.declareProtected(permissions.PERMISSION_STUDENT, 'getScore') 136 # FIXME: check permissions: only return something if we're in resultView
|
/ec/ECQuiz/Products/ECQuiz/ |
H A D | sharing.py | 7 from plone.app.workflow import permissions namespace 8 DELEGATE_PERM = permissions.DelegateRoles
|
H A D | permissions.py | 3 # $Id:permissions.py 1255 2009-09-24 08:47:42Z amelung $ 28 from Products.CMFCore import permissions as CMFCorePermissions
|
H A D | ECQFolder.py | 27 #from Products.CMFCore import permissions as CMFCorePermissions 30 from Products.ECQuiz import permissions namespace 61 security.declareProtected(permissions.PERMISSION_STUDENT, 'Type') 62 security.declareProtected(permissions.PERMISSION_STUDENT, 'title_or_id')
|
H A D | ECQGroup.py | 33 from permissions import *
|
H A D | ECQuiz.py | 45 from Products.ECQuiz import permissions namespace 143 read_permission=permissions.PERMISSION_STUDENT, 158 read_permission=permissions.PERMISSION_STUDENT, 172 read_permission=permissions.PERMISSION_STUDENT, 187 read_permission=permissions.PERMISSION_STUDENT, 206 read_permission=permissions.PERMISSION_STUDENT, 208 write_permission=permissions.PERMISSION_GRADE, 241 write_permission=permissions.PERMISSION_GRADE, 285 for role in [permissions.ROLE_RESULT_VIEWER, permissions [all...] |
/ec/ECReviewBox/content/ |
H A D | ECReview.py | 50 'permissions': (permissions.ModifyPortalContent,),
|
H A D | ECReviewBox.py | 35 from Products.ECAssignmentBox import permissions namespace 105 read_permission = permissions.ModifyPortalContent, 119 read_permission = permissions.ModifyPortalContent, 157 'permissions': (permissions.ManageProperties,), 177 # security.declareProtected(permissions.ModifyPortalContent, 'processForm') 204 security.declareProtected(permissions.ModifyPortalContent, 'reAllocate')
|
/ec/ECQuiz/Products/ECQuiz/QuestionTypes/ |
H A D | ECQBaseQuestion.py | 34 from Products.ECQuiz.permissions import *
|
H A D | ECQExtendedTextQuestion.py | 29 from Products.ECQuiz.permissions import *
|
H A D | ECQRatingQuestion.py | 35 from Products.ECQuiz.permissions import *
|
H A D | ECQPointsQuestion.py | 34 from Products.ECQuiz.permissions import *
|
H A D | ECQScaleQuestion.py | 34 from Products.ECQuiz.permissions import *
|