Project

Profile

Help

Task #9413

closed

Story #9410: [EPIC] Roles for RBAC

add viewsets to assign roles to users/groups

Added by mdellweg over 3 years ago. Updated about 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 109
Quarter:

Description

  • As a user i can assign model level roles to users
  • As a user i can assign model level roles to groups
  • As a user i can assign object level roles to users
  • As a user i can assign object level roles to groups
Actions #1

Updated by mdellweg about 3 years ago

  • Sprint/Milestone set to 3.16.0
Actions #2

Updated by ipanova@redhat.com about 3 years ago

  • Description updated (diff)
Actions #3

Updated by gerrod about 3 years ago

  • Sprint/Milestone changed from 3.16.0 to 3.17.0
Actions #4

Updated by pulpbot about 3 years ago

  • Status changed from NEW to POST
Actions #5

Updated by mdellweg about 3 years ago

  • Assignee set to mdellweg
  • Sprint set to Sprint 108
Actions #6

Updated by rchan about 3 years ago

  • Sprint changed from Sprint 108 to Sprint 109

Added by mdellweg about 3 years ago

Revision ab6225b6 | View on GitHub

Add Support for roles in RBAC

  • Add role models and role permission backend
  • Add support for roles in the access policy
  • Rename permission_assignment to creation_hooks
  • Make queryset filtering depend on the backend configuration
  • Add register for creation hooks
  • Add post migrate hook to manage locked roles defined by viewsets
  • Add rest interface for roles
  • Add endpoint for user roles and group roles
  • Refactor get_{users,groups}_with_perms for roles
  • Avoid circular imports with custom user model Custom user models may rely on importing pulpcore.app.models.

fixes #9413 fixes #9411

Actions #7

Updated by mdellweg about 3 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #8

Updated by pulpbot about 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF