Skip to content

Disable tabs if no access#3057

Merged
WilliamBZA merged 3 commits into
authorizationfrom
disable-tabs-if-no-access
Jul 6, 2026
Merged

Disable tabs if no access#3057
WilliamBZA merged 3 commits into
authorizationfrom
disable-tabs-if-no-access

Conversation

@WilliamBZA

@WilliamBZA WilliamBZA commented Jul 6, 2026

Copy link
Copy Markdown
Member

viewEndpoints: { method: "GET", path: "/api/endpoints" }, // error:endpoints:view (EndpointsMonitoringController)
manageThroughput: { method: "POST", path: "/api/licensing/settings/masks/update" }, // error:throughput:manage (LicensingController)
// ---- actions ----
manageEndpointSettings: { method: "PATCH", path: "/api/endpointssettings/{}" },

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I guess we can either check for GET or PATCH when doing the ability to manage endpoint settings. Is there a benefit to using the GET instead of PATCH?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

If we had a separate view endpoint settings to the manage endpoint settings, then we'd need to use the GET and the PATCH. But since we only have the manage endpoint settings which includes viewing the settings, I think we're fine with using PATCH for this

@WilliamBZA WilliamBZA merged commit e339fea into authorization Jul 6, 2026
5 checks passed
@WilliamBZA WilliamBZA deleted the disable-tabs-if-no-access branch July 6, 2026 16:26
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.

3 participants