Skip to content

feat: enhance session applications and permissions management#8

Merged
moutonjeremy merged 1 commit intomainfrom
update-permission-config
Mar 21, 2026
Merged

feat: enhance session applications and permissions management#8
moutonjeremy merged 1 commit intomainfrom
update-permission-config

Conversation

@moutonjeremy
Copy link
Member

  • Added SpaceApplication, DatabaseApplication, and DrawingApplication to SessionApplication dependencies in the server configuration.
  • Removed the checkAdmin function from the admin handlers and replaced it with role-based access control using RequiredRoles in OpenAPI options.
  • Updated various request DTOs to include resource and action metadata for permissions management in database, drawing, and space modules.
  • Ensured that all relevant endpoints now enforce admin role requirements through the new RequiredRoles field.

- Added SpaceApplication, DatabaseApplication, and DrawingApplication to SessionApplication dependencies in the server configuration.
- Removed the checkAdmin function from the admin handlers and replaced it with role-based access control using RequiredRoles in OpenAPI options.
- Updated various request DTOs to include resource and action metadata for permissions management in database, drawing, and space modules.
- Ensured that all relevant endpoints now enforce admin role requirements through the new RequiredRoles field.
@moutonjeremy moutonjeremy merged commit 5ddf44d into main Mar 21, 2026
1 check passed
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