Skip to content

feat: better annotations - #220

Draft
schiwekM wants to merge 8 commits into
mainfrom
feat/better-annotations
Draft

feat: better annotations#220
schiwekM wants to merge 8 commits into
mainfrom
feat/better-annotations

Conversation

@schiwekM

@schiwekM schiwekM commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

Still unsure about the naming.

Feature wise:

  • deduct @UI.CreateHidden, @UI.DeleteHidden, @UI.UpdateHidden, @Capabilities.InsertRestrictions.Insertable, @Capabilities.UpdateRestrictions.Updatable, @Capabilities.DeleteRestrictions.Deletable for entities and @Core.OperationAvailable for actions on entities based on the @restrict annotation of an entity.

This ensures that the buttons are correctly hidden/disabled based on user permissions. To achieve this the module adds a singleton entity for static role-based checks to the model and for dynamic instance based checks __fc properties to the respective entity.

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.

1 participant