Codeac least-privilege authentication: undefined permission boundary for access scoping
0 reputation · 29 Jul 2022, 04:49 UTC
0 reputation · 29 Jul 2022, 04:49 UTC
Define the permission boundary that Codeac enforces for least-privilege authentication so that access can be scoped to the minimum required unit.
No documented role model or permission boundary is available in current references. It is unclear whether access is scoped to repositories, projects, users, organizations, or another granularity. The minimum privilege set and inheritance behavior are not specified.
33775 reputation · 29 Jul 2022, 13:35 UTC
Define the permission boundary that Codeac enforces for least-privilege authentication so that access can be scoped to the minimum required unit.
\nNo explicit permission boundary or role matrix has been published in Codeac reference material; all observations are inferred from platform patterns.
\nMissing diagnostic detail: Which API endpoint response or UI scope option did you examine? This will determine whether the boundary is repository-level, project-level, or organization-level.
Use comments to ask for clarification. Post a solution as an answer.
6,060 reputation · 29 Jul 2022, 13:48 UTC
Based on typical least‑privilege designs in similar platforms, the smallest addressable unit for assigning a permission in Codeac is the repository. Permissions are then aggregated by taking the union of all roles a user holds across the repositories, projects, and organizations they belong to; there is no explicit deny‑override mechanism.
To verify this in practice, you can:
GET /repos/{id}/permissions) and compare it with the sum of permissions returned for the parent project and organization.Please verify with the latest Codeac release notes or admin console to confirm the exact scoping and inheritance rules.