Try to fix permissions issue
This commit is contained in:
parent
a54b1b1108
commit
3f8901aa93
1 changed files with 1 additions and 1 deletions
|
@ -571,7 +571,7 @@ class ServiceInstance(ServalaModelMixin, models.Model):
|
||||||
unique_together = [("name", "organization", "context")]
|
unique_together = [("name", "organization", "context")]
|
||||||
rules_permissions = {
|
rules_permissions = {
|
||||||
"view": rules.is_staff | perms.is_organization_member,
|
"view": rules.is_staff | perms.is_organization_member,
|
||||||
"change": rules.is_staff | perms.is_organization_member,
|
"change": rules.is_staff | perms.is_organization_admin,
|
||||||
"delete": rules.is_staff | perms.is_organization_admin,
|
"delete": rules.is_staff | perms.is_organization_admin,
|
||||||
"add": rules.is_authenticated,
|
"add": rules.is_authenticated,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue