|
|
@ -248,7 +248,7 @@ class decort_rg(DecortController):
|
|
|
|
for rg_item in self.rg_facts['acl']:
|
|
|
|
for rg_item in self.rg_facts['acl']:
|
|
|
|
if rg_item['userGroupId'] == self.amodule.params['access']['user']:
|
|
|
|
if rg_item['userGroupId'] == self.amodule.params['access']['user']:
|
|
|
|
acc_granted = True
|
|
|
|
acc_granted = True
|
|
|
|
if rg_item['right']:
|
|
|
|
if self.amodule.params['access']['action'] == 'grant':
|
|
|
|
if rg_item['right'] != self.amodule.params['access']['right']:
|
|
|
|
if rg_item['right'] != self.amodule.params['access']['right']:
|
|
|
|
should_change_access = True
|
|
|
|
should_change_access = True
|
|
|
|
if self.amodule.params['access']['action'] == 'revoke':
|
|
|
|
if self.amodule.params['access']['action'] == 'revoke':
|
|
|
|