Project

General

Profile

Actions

Feature #32906

open

Add create permissions into React context

Added by Ondřej Pražák over 3 years ago. Updated over 3 years ago.

Status:
Ready For Testing
Priority:
Normal
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Having 'create_foos' does not guarantee that user can actually create a particular foo because there might be a filter limiting what foos a user is allowed to create. However the information whether user has a create permission is useful - it means that it can at least create some foos, therefore we should show links and allow access to create form. If a user user does not have create permission and tries to access create form, we should show 'permission denied' instead of a form as we already do on existing pages. If a user has permission with a filter, we should show form and let backend handle the filters after submit.


Related issues 1 (1 open0 closed)

Related to Foreman Remote Execution - Bug #32907: User can access job wizard without create_invocation permissionReady For TestingOndřej PražákActions
Actions

Also available in: Atom PDF