equal
deleted
inserted
replaced
730 self._checkHasActiveRoleFor(django_args, logic, 'link_id') |
730 self._checkHasActiveRoleFor(django_args, logic, 'link_id') |
731 |
731 |
732 def checkHasActiveRoleForLinkIdAsScope(self, django_args, logic): |
732 def checkHasActiveRoleForLinkIdAsScope(self, django_args, logic): |
733 """Checks that the user has the specified active role. |
733 """Checks that the user has the specified active role. |
734 |
734 |
735 Only roles where the link_id matches the link_id from the |
735 Only roles where the scope_path matches the link_id from the |
736 django_args are considered. |
736 django_args are considered. |
737 """ |
737 """ |
738 |
738 |
739 django_args = django_args.copy() |
739 django_args = django_args.copy() |
740 django_args['scope_path'] = django_args['link_id'] |
740 django_args['scope_path'] = django_args['link_id'] |