Skip to content

fix(permissions): centralize block palette permissions#96

Merged
Zoriot merged 1 commit into
mainfrom
permissions-fix-rail-and-blockpalette
Jun 28, 2026
Merged

fix(permissions): centralize block palette permissions#96
Zoriot merged 1 commit into
mainfrom
permissions-fix-rail-and-blockpalette

Conversation

@Jasupa

@Jasupa Jasupa commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Added the block palette edit permission to the central Permissions class
  • Replaced local btt.bp.edit constants in block palette menus
  • Confirmed the rail generator already uses the centralized generator permission

Testing

  • Ran ./gradlew compileJava

- add block palette edit permission to Permissions
- replace local block palette permission constants
- verify rail generator still uses centralized generator permission
@Jasupa Jasupa requested a review from Zoriot June 28, 2026 18:57
@github-actions

Copy link
Copy Markdown

Qodana for JVM

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

@Zoriot Zoriot merged commit f68b7ad into main Jun 28, 2026
4 checks passed
@Zoriot Zoriot deleted the permissions-fix-rail-and-blockpalette branch June 28, 2026 20:04
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