fix: change permission to create project (#671)

Co-authored-by: adlerhurst <silvan.reusser@gmail.com>
This commit is contained in:
Livio Amstutz 2020-09-01 08:12:05 +02:00 committed by GitHub
parent c55b9ff40c
commit bd7e3731c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 717 additions and 715 deletions

View File

@ -35,6 +35,7 @@ InternalAuthZ:
- "policy.write"
- "policy.delete"
- "project.read"
- "project.create"
- "project.write"
- "project.delete"
- "project.member.read"
@ -104,6 +105,7 @@ InternalAuthZ:
- "policy.write"
- "policy.delete"
- "project.read"
- "project.create"
- "project.write"
- "project.delete"
- "project.member.read"
@ -182,7 +184,7 @@ InternalAuthZ:
Permissions:
- "user.global.read"
- "project.read:self"
- "project.write"
- "project.create"
- Role: 'PROJECT_OWNER'
Permissions:
- "org.global.read"

View File

@ -350,7 +350,7 @@ var ManagementService_AuthMethods = authz.MethodMapping{
},
"/caos.zitadel.management.api.v1.ManagementService/CreateProject": authz.Option{
Permission: "project.write",
Permission: "project.create",
CheckParam: "",
},

File diff suppressed because it is too large Load Diff

View File

@ -785,7 +785,7 @@ rpc GetUserByID(UserID) returns (UserView) {
};
option (caos.zitadel.utils.v1.auth_option) = {
permission: "project.write"
permission: "project.create"
};
}