Skip to content

Conversation

@byashimov
Copy link
Contributor

@byashimov byashimov commented Jan 27, 2026

Contributes to NEX-2265.

Adds Permissions() function that returns the most granular permissions list required for an OperationID.

"Granular" means avoiding "composite" roles like operator or developer where possible. While these roles include most permissions, they undermine the goal of having precise control over resources.

@byashimov byashimov requested a review from a team as a code owner January 27, 2026 17:11
@byashimov byashimov force-pushed the byashimov/NEX-2265/add-permissions branch 2 times, most recently from 9db0b09 to c3f67c9 Compare January 27, 2026 17:22
@vmyroslav
Copy link
Contributor

I'm not sure how we are gonna use it, so dunno if it make sense to remove the runtime yaml parsing and move it to compile time from here.

Contributes to NEX-2265.

Adds `Permissions()` function that returns the most granular permissions list
required for an OperationID.

"Granular" means avoiding "composite" roles like operator or developer where possible.
While these roles include most permissions,
they undermine the goal of having precise control over resources.
@byashimov byashimov force-pushed the byashimov/NEX-2265/add-permissions branch from c3f67c9 to 37d95c1 Compare January 28, 2026 10:19
@byashimov
Copy link
Contributor Author

I'm not sure how we are gonna use it, so dunno if it make sense to remove the runtime yaml parsing and move it to compile time from here.

Good call. Updated.

@byashimov byashimov requested a review from vmyroslav January 28, 2026 10:19
@vmyroslav vmyroslav merged commit f043832 into main Jan 28, 2026
6 checks passed
@vmyroslav vmyroslav deleted the byashimov/NEX-2265/add-permissions branch January 28, 2026 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants