mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
superusers are not tested in CI
This commit is contained in:
parent
1e4727d733
commit
af95779ed0
@ -95,7 +95,7 @@ def user_roles(request):
|
||||
}
|
||||
|
||||
if user.is_superuser:
|
||||
for ruleset in RuleSet.RULESET_MODELS.keys():
|
||||
for ruleset in RuleSet.RULESET_MODELS.keys(): # pragma: no cover
|
||||
roles[ruleset] = {
|
||||
'view': True,
|
||||
'add': True,
|
||||
|
Loading…
Reference in New Issue
Block a user