You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal of this issue is to implement that automatic role assignment during library creation. This only covers the creation and assignment logic; the actual permission checks for library_admin and other roles will be handled in a separate issue and PR.
Acceptance Criteria
When a user creates a content library, they are automatically granted the library_admin role for that library.
The assigned role is stored in the new authorization framework (Casbin-based system).
Existing library behavior remains unchanged (no new access checks introduced).
The role mapping is consistent with the Libraries Roles and Permissions Migration Plan.
Unit tests verify that the correct role (library_admin) is granted upon library creation.
Activity