Skip to content

feat: enhance session applications and permissions management#8

Open
moutonjeremy wants to merge 1 commit intomainfrom
update-permission-config
Open

feat: enhance session applications and permissions management#8
moutonjeremy wants to merge 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.
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