Skip to content

MethodPermissions with optional subject#19

Closed
majst01 wants to merge 1 commit intomainfrom
optional-permission-subject
Closed

MethodPermissions with optional subject#19
majst01 wants to merge 1 commit intomainfrom
optional-permission-subject

Conversation

@majst01
Copy link
Contributor

@majst01 majst01 commented Jul 17, 2025

Description

For Methods which are not project or tenant scoped and have visibility self for example, define a subject is pointless and makes it impossible to create a proper token which allows access to such a method.

By making the subject optional this can be fixed in the apiserver implementation

@majst01 majst01 self-assigned this Jul 17, 2025
@majst01 majst01 requested a review from vknabel July 17, 2025 13:52
@vknabel vknabel moved this to In Progress in Development Jul 18, 2025
Copy link
Contributor

@vknabel vknabel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not really happy regarding this approach, but I can't provide a better solution. What are your thoughts @Gerrit91?

@majst01
Copy link
Contributor Author

majst01 commented Jul 22, 2025

I am not really happy regarding this approach, but I can't provide a better solution. What are your thoughts @Gerrit91?

Me neither, i will drop this PR and we must dig deeper into this issue

@majst01 majst01 closed this Jul 22, 2025
@github-project-automation github-project-automation bot moved this from In Progress to Done in Development Jul 22, 2025
@majst01 majst01 deleted the optional-permission-subject branch July 22, 2025 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants