Commit c1eb0086 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_erp5: Computers with subscription allocation scope has same security as...

slapos_erp5: Computers with subscription allocation scope has same security as the ones with open allocation
parent fb37a15e
......@@ -18,6 +18,8 @@ category_list = []
scope = computer.getAllocationScope()
if scope == 'open/public':
return {"Auditor": ["R-SHADOW-PERSON"]}
elif scope == 'open/subscription':
return {"Auditor": ["R-SHADOW-PERSON"]}
elif scope == 'open/personal':
person = computer.getSourceAdministrationValue(portal_type="Person")
if person is not None:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment