mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-06 13:07:52 +00:00
fix: change permission to create project (#671)
Co-authored-by: adlerhurst <silvan.reusser@gmail.com>
This commit is contained in:
parent
c55b9ff40c
commit
bd7e3731c5
@ -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"
|
||||
|
@ -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
@ -785,7 +785,7 @@ rpc GetUserByID(UserID) returns (UserView) {
|
||||
};
|
||||
|
||||
option (caos.zitadel.utils.v1.auth_option) = {
|
||||
permission: "project.write"
|
||||
permission: "project.create"
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user