Skip to content

Add roles support#283

Merged
nscuro merged 25 commits into
DependencyTrack:mainfrom
ashearin:add-roles-support
Jun 4, 2025
Merged

Add roles support#283
nscuro merged 25 commits into
DependencyTrack:mainfrom
ashearin:add-roles-support

Conversation

@ashearin
Copy link
Copy Markdown
Contributor

@ashearin ashearin commented May 7, 2025

Description

Adds updates related to roles implementation and various improvements to Access Management User tabs.

Some more specifc descriptions:

  • UserManagementMixin: attempts to consolidate functionality across user types
  • Adds a role tab to the Access Management, which handles
    • Creating/Deleting new roles
    • Managing the permissions assigned to each role
  • Adds a Role field to each user type detailed view, enabling the assignment of a role to a user for a specific project

Addressed Issue

Project Level RBAC

Associated ApiServer PR

Additional Details

Access Management Roles tab (with default Roles populated)
Screenshot 2025-05-07 at 1 22 51 PM

CreateRoleModal
Screenshot 2025-05-07 at 1 24 34 PM

Select Role Modal
Screenshot 2025-05-07 at 1 26 00 PM

Ldap User updates
Screenshot 2025-05-07 at 1 26 40 PM

Checklist

@ashearin ashearin force-pushed the add-roles-support branch 4 times, most recently from e3f8c5f to d668e8e Compare May 24, 2025 03:39
ashearin and others added 22 commits May 23, 2025 21:50
Signed-off-by: Allen Shearin <allen.p.shearin@gmail.com>
Signed-off-by: Ephraim Mensah <ephraim.e.mensah@lmco.com>
Signed-off-by: Allen Shearin <allen.p.shearin@gmail.com>
Signed-off-by: Alexis Lamb <alexis.lamb@lmco.com>
refactor: add rolesMixin, use in ldap user file

Signed-off-by: Allen Shearin <allen.p.shearin@gmail.com>
…in for reusability

Signed-off-by: emeremikwu-lm <e470067@us.lmco.com>
Signed-off-by: Ephraim Mensah <ephraim.e.mensah@lmco.com>
…AP, Managed, and OIDC; Cleanup

Signed-off-by: emeremikwu-lm <e470067@us.lmco.com>
Signed-off-by: Ephraim Mensah <ephraim.e.mensah@lmco.com>
fix: populate roles and projects
refactor: delete user functionality

Signed-off-by: Johnny Mayer <johnny.w.mayer.iii@lmco.com>
Signed-off-by: emeremikwu-lm <e470067@us.lmco.com>
Signed-off-by: Johnny Mayer <johnny.w.mayer.iii@lmco.com>
Signed-off-by: emeremikwu-lm <emmanuel.meremikwu@lmco.com>
Signed-off-by: Allen Shearin <allen.p.shearin@gmail.com>
…or users and roles

- Separate detailViews for ldap, managed, oidc and teams to 'UserDetails' files
- Implement bulk operations for user and role

Signed-off-by: Emmanuel Meremikwu <emmanuel.meremikwu@lmco.com>
Signed-off-by: Alexis Lamb <alexis.lamb@lmco.com>
Signed-off-by: Allen Shearin <allen.p.shearin@gmail.com>
- introduced UserRolesTable, supercede SelectRoleModal and editing roles
- separate detailFormatter and parent componenet for code clairty
- i18n

Signed-off-by: Emmanuel Meremikwu <emmanuel.meremikwu@lmco.com>
Signed-off-by: Emmanuel Meremikwu <emmanuel.meremikwu@lmco.com>
Signed-off-by: Allen Shearin <allen.p.shearin@gmail.com>
* fix: request body key correction
* fix: adjust multiselect dropdown direction and handle role assignment errors
* fix: disable create button until all required fields are filled
* feat: add 'role_already_assigned' message to multiple language files

Signed-off-by: emeremikwu-lm <e470067@us.lmco.com>
Signed-off-by: Allen Shearin <allen.p.shearin@gmail.com>
@ashearin ashearin force-pushed the add-roles-support branch from d668e8e to 815170d Compare May 24, 2025 03:55
Signed-off-by: Allen Shearin <allen.p.shearin@gmail.com>
Comment thread src/views/administration/accessmanagement/Roles/RoleDetails.vue
Comment thread src/views/portfolio/projects/SelectProjectModal.vue
Comment thread src/views/administration/accessmanagement/Roles/index.vue Outdated
@nscuro nscuro added the enhancement New feature or request label Jun 2, 2025
@nscuro nscuro added this to the 5.6.0 milestone Jun 2, 2025
ashearin added 2 commits June 2, 2025 13:55
Signed-off-by: Allen Shearin <allen.p.shearin@gmail.com>
Signed-off-by: Allen Shearin <allen.p.shearin@gmail.com>
@nscuro nscuro merged commit 4434ecc into DependencyTrack:main Jun 4, 2025
9 checks passed
@ashearin ashearin deleted the add-roles-support branch June 4, 2025 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants