Project

General

Profile

Actions

Bug #18722

closed

Can't edit parameter after foreman update 1.13.4 to 1.14.1

Added by Lars Wagner almost 8 years ago. Updated over 6 years ago.

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

Description

After updating foreman from version 1.13.4 to 1.14.1 editing of global and host parameters doesn't work any longer. It only works if a user is administrator and it doesn't even work when a user has the following role permissions: "Parameter - destroy_params, view_params, edit_params, create_params". A user with the "Parameter" permission can add new parameter, but is not able to enter some value.


Files

role_filters.png View role_filters.png 60.3 KB Lars Wagner, 02/28/2017 09:04 AM
new_host_parameter.png View new_host_parameter.png 21.9 KB Lars Wagner, 02/28/2017 09:04 AM
foreman_debug.log foreman_debug.log 58.5 KB Lars Wagner, 02/28/2017 09:48 AM

Related issues 1 (0 open1 closed)

Related to Foreman - Refactor #16739: Unify common parameters permissions (global, os, domain)ClosedMarek Hulán09/29/2016Actions
Actions #1

Updated by Dominic Cleal almost 8 years ago

  • Category set to Users, Roles and Permissions
  • Translation missing: en.field_release set to 221
Actions #2

Updated by Dominic Cleal almost 8 years ago

  • Related to Refactor #16739: Unify common parameters permissions (global, os, domain) added
Actions #3

Updated by Dominic Cleal almost 8 years ago

It may help to attach production.log while loading the new host page, while debugging, sql and permissions logging is enabled (https://theforeman.org/manuals/1.14/index.html#7.2Debugging).

Actions #4

Updated by Lars Wagner almost 8 years ago

Debug log added

Actions #5

Updated by Dominic Cleal almost 8 years ago

  • Translation missing: en.field_release changed from 221 to 227
Actions #6

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/4355 added
Actions #7

Updated by Marek Hulán almost 8 years ago

I was able to reproduce and sent a fix, see a linked Pull request. It would help us if you could test it and verify it fixes the problem for you. If it would be possible, please share your findings here or in the PR.

Actions #8

Updated by Lars Wagner almost 8 years ago

Marek Hulán wrote:

I was able to reproduce and sent a fix, see a linked Pull request. It would help us if you could test it and verify it fixes the problem for you. If it would be possible, please share your findings here or in the PR.

Bugfix works for me. Thanks a lot!

Actions #9

Updated by Anonymous almost 8 years ago

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

Also available in: Atom PDF