Project

General

Profile

Actions

Bug #24850

closed

Do not allow usergroup to be added to itself

Added by Ondřej Pražák over 6 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Users, Roles and Permissions
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

When editing a usergroup, it is possible to add it to itself and cause endless method call loop.

Steps to reproduce:
1) create a usergroup
2) edit that usergroup and add it to selected items (see the screenshot), submit
3) stack level too deep


Files

edit-group.png View edit-group.png 23.1 KB Ondřej Pražák, 09/07/2018 11:54 AM
stack-error.png View stack-error.png 194 KB Ondřej Pražák, 09/07/2018 11:55 AM

Related issues 2 (0 open2 closed)

Has duplicate Foreman - Bug #26360: Adding current usergroup to them self cause error DuplicateDominik Hlavac DuranActions
Has duplicate Foreman - Bug #26575: Stack trace when adding/removing an user to a groupDuplicateActions
Actions

Also available in: Atom PDF