Skip to content

Conversation

@faisalsiddique4400
Copy link
Contributor

feat(admin-ui): add Cedar log toggle in Settings page (#2157)

✨ Summary

This PR introduces a new toggle in the Admin UI Settings page labeled "Cedar Log enabled?"
It allows users to enable or disable verbose Cedar authorization logs by controlling the CEDARLING_LOG_TYPE value.


✅ Changes

  • Added a switch field in the settings UI to control Cedar logging.
  • Includes localized labels and tooltips.
  • When enabled, detailed Cedar logs appear in the browser console for debugging purposes.

🧱 Notes

  • This toggle only affects log visibility, not access behavior.
  • Configuration is saved persistently via system/environment settings.

🔗 Ticket

Closes: #2157
Title: Conditionally showing Cedar logs

Added a switch field labeled 'Cedar Log enabled?' with localization and Tooltips to the Admin UI Settings page.
This allows users to control the CEDARLING_LOG_TYPE value to enable or disable verbose Cedar authorization logs.
@mo-auto
Copy link
Member

mo-auto commented Jul 14, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

@mo-auto mo-auto added comp-admin-ui Component affected by issue or PR kind-feature Issue or PR is a new feature request labels Jul 14, 2025
@sonarqubecloud
Copy link

@faisalsiddique4400 faisalsiddique4400 removed the request for review from syntrydy July 14, 2025 11:14
@sonarqubecloud
Copy link

@duttarnab duttarnab merged commit 361fbe3 into main Jul 14, 2025
8 checks passed
@duttarnab duttarnab deleted the admin-ui-issue-2157 branch July 14, 2025 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-admin-ui Component affected by issue or PR kind-feature Issue or PR is a new feature request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants