Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1476843 - User cannot edit own taxonomies
User cannot edit own taxonomies
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Users & Roles (Show other bugs)
6.2.10
Unspecified Unspecified
medium Severity medium (vote)
: 6.2.15
: Unused
Assigned To: Tomer Brisker
jcallaha
: FieldEngineering, Reopened, Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-31 11:06 EDT by Tomer Brisker
Modified: 2018-05-21 16:17 EDT (History)
12 users (show)

See Also:
Fixed In Version: foreman-1.11.0.89-1
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-05-21 16:16:43 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:1672 None None None 2018-05-21 16:17 EDT

  None (edit)
Description Tomer Brisker 2017-07-31 11:06:19 EDT
Description of problem:
A user, even admin, can not edit their own taxonomies.

Version-Release number of selected component (if applicable):
6.2.10

How reproducible:
always

Steps to Reproduce:
1. Create a new user with no taxonomies assigned.
2. Login as the new user and edit own account.
3. Add a location or organization
4. Save user
5. Edit own account again - note the organization/location was not saved

Actual results:
Organization/Location change is not saved

Expected results:
Organization/Location change is saved

Additional info:
This seems to work in upstream develop correctly.
Comment 3 Tomer Brisker 2017-08-01 03:59:28 EDT
Even simpler reproducer:

1. Log in as admin
2. Try to edit own taxonomies (add/remove a location/organization on your account)
3. Save

You will see the save succeed, but going into editing account again you will see the change was not preserved.
Comment 12 Djebran Lezzoum 2017-09-05 08:14:44 EDT
Hi Bryan,

This scenario is not automated, opened an issue for that https://github.com/SatelliteQE/robottelo/issues/5228
Comment 16 jcallaha 2018-04-30 15:49:50 EDT
Verified in Satellite 6.2.15 Snap 2.

Created a new organization and location.
Edited the main admin account to align them.
Saved the config.
Reloaded the edit user page for the admin account.
The orgs and locations were aligned correctly.

Created a new account with admin privileges and no orgs or locations aligned.
Signed in to the new account, being presented with the edit user page.
Aligned the new org and default location to the user.
After logging back in to the test user, the new org and default location were aligned correctly.
Comment 19 errata-xmlrpc 2018-05-21 16:16:43 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:1672

Note You need to log in before you can comment on or make changes to this bug.