mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-07 22:17:42 +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.write"
|
||||||
- "policy.delete"
|
- "policy.delete"
|
||||||
- "project.read"
|
- "project.read"
|
||||||
|
- "project.create"
|
||||||
- "project.write"
|
- "project.write"
|
||||||
- "project.delete"
|
- "project.delete"
|
||||||
- "project.member.read"
|
- "project.member.read"
|
||||||
@ -104,6 +105,7 @@ InternalAuthZ:
|
|||||||
- "policy.write"
|
- "policy.write"
|
||||||
- "policy.delete"
|
- "policy.delete"
|
||||||
- "project.read"
|
- "project.read"
|
||||||
|
- "project.create"
|
||||||
- "project.write"
|
- "project.write"
|
||||||
- "project.delete"
|
- "project.delete"
|
||||||
- "project.member.read"
|
- "project.member.read"
|
||||||
@ -182,7 +184,7 @@ InternalAuthZ:
|
|||||||
Permissions:
|
Permissions:
|
||||||
- "user.global.read"
|
- "user.global.read"
|
||||||
- "project.read:self"
|
- "project.read:self"
|
||||||
- "project.write"
|
- "project.create"
|
||||||
- Role: 'PROJECT_OWNER'
|
- Role: 'PROJECT_OWNER'
|
||||||
Permissions:
|
Permissions:
|
||||||
- "org.global.read"
|
- "org.global.read"
|
||||||
|
@ -350,7 +350,7 @@ var ManagementService_AuthMethods = authz.MethodMapping{
|
|||||||
},
|
},
|
||||||
|
|
||||||
"/caos.zitadel.management.api.v1.ManagementService/CreateProject": authz.Option{
|
"/caos.zitadel.management.api.v1.ManagementService/CreateProject": authz.Option{
|
||||||
Permission: "project.write",
|
Permission: "project.create",
|
||||||
CheckParam: "",
|
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) = {
|
option (caos.zitadel.utils.v1.auth_option) = {
|
||||||
permission: "project.write"
|
permission: "project.create"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user