Searched refs:permissions (Results 1 - 25 of 32) sorted by relevance

12

/ec/ECReviewBox/
H A Dconfig.py23 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__.py13 from Products.CMFCore import permissions namespace
39 permission = permissions.AddPortalContent,
/ec/ECAssignmentBox/Products/ECAssignmentBox/
H A Dconfig.py19 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 Dsharing.py13 from plone.app.workflow import permissions namespace
21 required_permission = permissions.DelegateRoles
27 required_permission = permissions.DelegateRoles
H A D__init__.py30 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 Dconfig.py19 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__.py32 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 Dconfig.py19 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__.py21 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 DECQMCAnswer.py26 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 DECQCorrectAnswer.py28 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 DECQSelectionAnswer.py28 from Products.ECQuiz import permissions namespace
55 read_permission=permissions.PERMISSION_STUDENT,
H A DECQScaleAnswer.py32 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 Dsharing.py7 from plone.app.workflow import permissions namespace
8 DELEGATE_PERM = permissions.DelegateRoles
H A Dpermissions.py3 # $Id:permissions.py 1255 2009-09-24 08:47:42Z amelung $
28 from Products.CMFCore import permissions as CMFCorePermissions
H A DECQFolder.py27 #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 DECQGroup.py33 from permissions import *
H A DECQuiz.py45 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 DECReview.py50 'permissions': (permissions.ModifyPortalContent,),
H A DECReviewBox.py35 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 DECQBaseQuestion.py34 from Products.ECQuiz.permissions import *
H A DECQExtendedTextQuestion.py29 from Products.ECQuiz.permissions import *
H A DECQRatingQuestion.py35 from Products.ECQuiz.permissions import *
H A DECQPointsQuestion.py34 from Products.ECQuiz.permissions import *
H A DECQScaleQuestion.py34 from Products.ECQuiz.permissions import *

Completed in 66 milliseconds

12