Project

General

Profile

Bug #6479

"Product Content" page shows edit buttons for read only user

Added by Walden Raines over 6 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web UI
Target version:
Difficulty:
easy
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

Steps to Reproduce

1. Create a non-admin user
2. Give them the "view_content_hosts" permission
3. Go to systems -> choose a system -> product content
4. Notice you can see edit buttons
5. Attempt to save
6. Notice 403

Associated revisions

Revision 22032b7d (diff)
Added by Walden Raines over 6 years ago

Fixes #6479/BZ1115633: hide product content edit button if applicable

If the user does not have permission do not show the product content
edit button.

http://projects.theforeman.org/issues/6479
https://bugzilla.redhat.com/show_bug.cgi?id=1115633

Revision f2079e13
Added by Walden Raines over 6 years ago

Merge pull request #4383 from waldenraines/6479

Fixes #6479/BZ1115633: hide product content edit button if applicable

History

#1 Updated by Walden Raines over 6 years ago

  • Bugzilla link set to 1115633

#2 Updated by Walden Raines over 6 years ago

  • Status changed from New to Ready For Testing

#3 Updated by Eric Helms over 6 years ago

  • Target version changed from 48 to 49

#4 Updated by Walden Raines over 6 years ago

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

#5 Updated by Eric Helms about 6 years ago

  • Legacy Backlogs Release (now unused) set to 13

Also available in: Atom PDF