Skip to content

Conversation

@Samk13
Copy link
Member

@Samk13 Samk13 commented Nov 3, 2025

❤️ Thank you for your contribution!

Description

  • Introduce RolesListView, RolesDetailView, RolesCreateView,
    and RolesEditView for managing user roles.
  • Update setup configuration to include new role views.

Depends on inveniosoftware/invenio-users-resources#185

Screenshots:

Screenshot 2025-11-04 at 12 01 27

TODO:

The functionality is not yet there for:

  • Edit role
  • Create role
  • Delete role
  • users' roles facets
  • edit user roles

Checklist

Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:

Frontend

Reminder

By using GitHub, you have already agreed to the GitHub’s Terms of Service including that:

  1. You license your contribution under the same terms as the current repository’s license.
  2. You agree that you have the right to license your contribution under the current repository’s license.

@Samk13 Samk13 force-pushed the feat-add-roles-admin-page branch 2 times, most recently from 33f7d0d to 1bf14c2 Compare November 4, 2025 00:15
@Samk13 Samk13 force-pushed the feat-add-roles-admin-page branch 5 times, most recently from 66815c0 to 72e69fd Compare November 14, 2025 13:55
@Samk13 Samk13 force-pushed the feat-add-roles-admin-page branch 4 times, most recently from a93133a to 94a77fc Compare November 19, 2025 14:20
* Introduce RolesListView, RolesDetailView, RolesCreateView,
  and RolesEditView for managing user roles.
* Update setup configuration to include new role views.
* The latest change included an ID field.
* The role name and ID are now separate fields.
* fix blank page for newly created roles
* Added a shared can_access_user_administration() helper that only
   returns true for superusers or identities carrying both
   administration and administration-moderation.
* The users/roles admin list/detail views now inherit a mixin that
   aborts with 403 whenever that helper denies access,
   preventing direct navigation by unauthorized users
* Adjusted the order of 'id' and 'name' fields
  in the roles list view for better clarity.
@Samk13 Samk13 force-pushed the feat-add-roles-admin-page branch from 94a77fc to 33744a9 Compare November 24, 2025 12:36
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