Add “Assign/Revoke Role Wrapper” for Roles (Like Entity Actions)
44
Views
1
Comments
New
Service Studio

OutSystems provides a very useful feature for Entities, where developers can quickly generate wrapper actions like Create, CreateOrUpdate, and Delete via right-click.

However, this convenience is missing for Roles.

Currently, when a Role is Public and reused across applications, developers still need to manually create server/service actions to:

  • Grant Role to User
  • Revoke Role from User

Proposed Solution:

Add a right-click option on Roles to auto-generate:

  • Grant<RoleName>wrapper
  • Revoke<RoleName>wrapper

(similar to how Entity action wrappers are generated)

Why This Matters:

  • Speeds up development
  • Eliminates repetitive logic
  • Improves consistency across applications
  • Enhances developer experience in ODC & O11

Real Impact:

In multi-application architectures where Roles are shared, this feature would significantly reduce effort and standardize role management.

Even if a role is marked as Public, in ODC we can only check the role in other applications, and we still need to manually create actions to grant or revoke roles every time.

Changed the category to
Service Studio