Project

General

Profile

Actions

Feature #20068

open

Ensure that user does not get permission denied right after logging in

Added by Ondřej Pražák almost 7 years ago. Updated almost 6 years ago.

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

Description

Description of problem:

Users w/o full admin rights, created in at least some circumstances, cannot view the main welcome page. The end result is that they get a permission denied upon login.

How reproducible:

Always

Steps to Reproduce:
1. Create a role ("myrole") with these permissions:

Foreman tasks/task - view_foreman_tasks

Content Views - view_content_views, create_content_views, edit_content_views, destroy_content_views, publish_content_views, promote_or_remove_content_views

Lifecycle Environment - view_lifecycle_environments, create_lifecycle_environments, edit_lifecycle_environments, destroy_lifecycle_environments, promote_or_remove_content_views_to_environments

Product and Repositories - view_products, create_products, edit_products, destroy_products, sync_products

Location - view_locations, assign_locations

Organization - view_organizations, assign_organizations

2. Create a user that is associated with "myrole"
3. Login as user

Actual results:

Permission denied
You are not authorized to perform this action
Please request the required privileges from a Foreman administrator

Expected results:

User shouldn't get a permission denied as a first user experience!

Actions #1

Updated by Ondřej Pražák almost 7 years ago

  • Subject changed from Ensure that user logging in does not get permission denied to Ensure that user does not get permission denied right after logging in
  • Category set to Users, Roles and Permissions
  • Target version set to 115
Actions

Also available in: Atom PDF