Skip to content

fix: showing false permission denied error - #2018

Merged
cre8ivejp merged 1 commit into
mainfrom
fix-false-error
Jul 23, 2025
Merged

fix: showing false permission denied error#2018
cre8ivejp merged 1 commit into
mainfrom
fix-false-error

Conversation

@cre8ivejp

Copy link
Copy Markdown
Member

When accessing the Organization settings with a non-system admin account, it showed permission denied error logs.
Since the checkOrganizationRole already checks for the system admin, I have removed the checkSystemAdminRole check to prevent false logs.

Signed-off-by: Alessandro Yuichi Okimoto <yuichijpn@gmail.com>
@cre8ivejp
cre8ivejp marked this pull request as ready for review July 23, 2025 05:41
@cre8ivejp
cre8ivejp requested a review from Ubisoft-potato July 23, 2025 05:42

@Ubisoft-potato Ubisoft-potato left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM!

@cre8ivejp
cre8ivejp merged commit c8d3377 into main Jul 23, 2025
11 checks passed
@cre8ivejp
cre8ivejp deleted the fix-false-error branch July 23, 2025 05:47
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