Project

General

Profile

Bug #5816

Non-admin user should be able to modify self

Added by Dominic Cleal over 6 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1083154
Description of problem:

Version-Release number of selected component (if applicable):
1.5.0-14.201403312022git846ebfb.el6

How reproducible:
In hammer cli, and foreman setup with katello plugin.

Steps to Reproduce:

$ hammer -v -u admin -p changeme --output csv user create --firstname='s066f8' --lastname='4i61' --mail='' --login='gm8nzs'
--password='4wqw2' --auth-source-id='1'

'User created,197'

$ hammer -v -u gm8nzs -p 4wqw2 --output csv user info --id='197'

Forbidden - server refused to process the request

Actual results:
User is not able to read himself

Expected results:
User should at least be able to read himself

Associated revisions

Revision 7ffb50b9 (diff)
Added by Marek Hulán almost 5 years ago

Fixes #5816 - allow editing and displaying self via API

History

#1 Updated by Dominic Cleal over 6 years ago

  • Category set to API
  • Assignee deleted (Bryan Kearney)

The web UI allows a user to modify certain attributes about themselves, but the API doesn't.

#2 Updated by The Foreman Bot almost 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Marek Hulán
  • Pull request https://github.com/theforeman/foreman/pull/3379 added

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

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Dominic Cleal almost 5 years ago

  • Legacy Backlogs Release (now unused) set to 136

Also available in: Atom PDF