equal
deleted
inserted
replaced
133 title = _('manage permissions') |
133 title = _('manage permissions') |
134 category = 'moreactions' |
134 category = 'moreactions' |
135 order = 100 |
135 order = 100 |
136 |
136 |
137 def registered(cls, vreg): |
137 def registered(cls, vreg): |
|
138 super(ManagePermissionsAction, cls).registered(vreg) |
138 if 'require_permission' in vreg.schema: |
139 if 'require_permission' in vreg.schema: |
139 cls.__selectors__ |= relation_possible('require_permission', 'subject', 'EPermission', |
140 cls.__selectors__ |= relation_possible('require_permission', 'subject', 'EPermission', |
140 action='add') |
141 action='add') |
141 |
142 |
142 def url(self): |
143 def url(self): |