Feature #1583

Assign roles and filters to usergroups

Added by Brian Gupta over 5 years ago. Updated over 3 years ago.

Status:Closed
Priority:Normal
Assigned To:Marek Hulán
Category:Authorization
Target version:Sprint 21
Difficulty: Bugzilla link:
Found in release: Pull request:
Story points-
Velocity based estimate-
Release1.5.0Release relationshipAuto

Description

I have a use case where we want to give readonly access to set of users, but limit it to hosts that are in a specific domain. Currently, I can edit the individual users to set this permission (using the user level filters), but there is no way to do it for a set of users without actually editing each user.

I feel that anything that can be set permissions-wise for an individual user, should also be able to be done at the usergroup level. It looks like the main three things that we are missing are:
1) administrator permission
2) assigning roles
3) setting filters

It looks like there was a ticket already opened on this topic but it was resolved. http://theforeman.org/issues/1494

One thing that will need to be resolved, is what to do if there are permissions set at both the usergroup level and the user level. (Thing just a union of the permissions is the way to go.)


Related issues

Related to Foreman - Feature #813: Support AD group membership for authorization and authent... Closed 03/31/2011
Related to Foreman - Feature #812: cant assign roles to groups, just to users Closed 03/31/2011

History

#1 Updated by Benjamin Papillon about 5 years ago

  • Tracker changed from Bug to Feature

Hello,

I move this ticket to "feature request" as it is wanted to add functionality to the existing permissions and not an actual bug.

#2 Updated by Ohad Levy about 4 years ago

  • Related to Feature #812: cant assign roles to groups, just to users added

#3 Updated by Dominic Cleal almost 4 years ago

  • Description updated (diff)
  • Status changed from New to Assigned
  • Assigned To set to Marek Hulán
  • Target version set to Sprint 17

#4 Updated by Dominic Cleal almost 4 years ago

  • Target version changed from Sprint 17 to Sprint 18

#5 Updated by Marek Hulán almost 4 years ago

  • Status changed from Assigned to Ready For Testing

This is part of bigger task #812. I mark this as ready for testing since this part is done (even though it can't be merged until #812 is done).

#6 Updated by Dmitri Dolguikh almost 4 years ago

  • Target version changed from Sprint 18 to Sprint 19

#7 Updated by Dmitri Dolguikh almost 4 years ago

  • Target version changed from Sprint 19 to Sprint 20

#8 Updated by Dmitri Dolguikh over 3 years ago

  • Target version changed from Sprint 20 to Sprint 21

#9 Updated by Dominic Cleal over 3 years ago

  • % Done changed from 0 to 100
  • Release set to 1.5.0

Fixed via #812 for Foreman 1.5.0.

#10 Updated by Dominic Cleal over 3 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF