Skip to content

Model security: roles, permissions and authentication #644

Open

Description

@ArmenSl

Is your feature request related to a problem?

Users can't model security concerns in BESSER: roles, permissions on classes or operations, and authentication flows. Access rules end up in prompts or in hand-written code, outside the model.

This is about modeling security. Hardening the generated applications is tracked separately.

Describe the solution you'd like

  • A security sub-language (or an extension of the structural metamodel) to declare roles, the permissions each role has on classes, attributes and operations (create / read / update / delete / execute), and the authentication method.
  • Editor support for defining it alongside the class diagram.
  • Generators that consume it: role checks in the generated backend, and screens or actions hidden from roles without access in the generated frontend.
  • Modeling assistant support, so that "only admins can delete orders" becomes part of the model.

Describe alternatives you've considered

Expressing access rules as OCL constraints. That covers some data-level rules, but not roles, authentication or per-operation permissions.

Activity

  1. added
    enhancementNew feature or request
    agentic_demoRaised during the agentic interface demo sessions
    modelingModeling languages and diagram types
    securitySecurity modeling or security of generated applications
    on Oct 19, 2026
  2. jcabot commented on Oct 20, 2026

    @jcabot
    Collaborator

    @AtefehNirumandJazi work should covere this. At least she has already implemented the modeling part (and the generation for databases) as part of the policyDSL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agentic_demoRaised during the agentic interface demo sessionsenhancementNew feature or requestmodelingModeling languages and diagram typessecuritySecurity modeling or security of generated applications

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions