Feature #73

add support for user groups

Added by Ohad Levy about 2 years ago. Updated over 1 year ago.

Status:Closed Start:03/04/2010
Priority:Normal Due date:03/04/2010
Assigned to:Paul Kelly % Done:

0%

Category:Web Interface
Target version:0.1-5
Backlog: Difficulity:
Votes: 0

Description

each host can be associated with a user or a group, allowing to send email notifications to the right user or group of users.


Related issues

related to Foreman - Feature #139: per host authorization for making changes. Closed 12/18/2009
follows Foreman - Feature #170: Create a usergroup implementation Closed 03/03/2010

Associated revisions

Revision 9c0e127b1d42b7243403dd49d739cf8e97baa60b
Added by Paul Kelly over 1 year ago

Fixes #170 - implement usergroups

Added migration
Added tests
Added MVC files
Added the routes as well
Added the program logic and additional views
Added RESTful actions for update and create
Added validations to ensure that usergroup.name and user.login do not collide
Added "recipients" method to users and usergroups. This returns a list of addresses.
Usergroup#recipients will follow all nested usergroups avoiding any loops and
return only unique addresses

Fixes #73 - Add usergroup support to hosts

Fixes #244 - Remove ActiveScaffold from the usergroup pages

and finally - added owners to host edit page and other whitespaces and
mods by ohad

History

Updated by Ohad Levy about 2 years ago

  • Target version changed from 0.1-3 to 0.1-4

Updated by Ohad Levy almost 2 years ago

  • Target version changed from 0.1-4 to 0.1-5

Updated by Paul Kelly over 1 year ago

  • Status changed from New to Closed
  • Assigned to changed from Ohad Levy to Paul Kelly
  • Branch set to feature/170-usergroups

The host_mailer sends the error report to the host's owner, which may be a usergroup, if setings[:ldap] is enabled

Also available in: Atom PDF