equal
deleted
inserted
replaced
404 reporschema = self.repo.schema.rschema(rschema) |
404 reporschema = self.repo.schema.rschema(rschema) |
405 for subj in subjtypes: |
405 for subj in subjtypes: |
406 for obj in objtypes: |
406 for obj in objtypes: |
407 if not reporschema.has_rdef(subj, obj): |
407 if not reporschema.has_rdef(subj, obj): |
408 continue |
408 continue |
409 self._synchronize_rdef_schema(subj, rschema, obj, |
409 self._synchronize_rdef_schema(subj, rschema, obj) |
410 commit=False) |
|
411 if syncperms: |
410 if syncperms: |
412 self._synchronize_permissions(etype) |
411 self._synchronize_permissions(etype) |
413 |
412 |
414 def _synchronize_rdef_schema(self, subjtype, rtype, objtype): |
413 def _synchronize_rdef_schema(self, subjtype, rtype, objtype): |
415 """synchronize properties of the persistent relation definition schema |
414 """synchronize properties of the persistent relation definition schema |