Project

General

Profile

Actions

Bug #5816

closed

Non-admin user should be able to modify self

Added by Dominic Cleal almost 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
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

Actions #1

Updated by Dominic Cleal almost 10 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.

Actions #2

Updated by The Foreman Bot almost 8 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
Actions #3

Updated by Marek Hulán almost 8 years ago

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

Updated by Dominic Cleal almost 8 years ago

  • translation missing: en.field_release set to 136
Actions

Also available in: Atom PDF