Bug 1320726 - RFE Rename heat_stack_user role
Summary: RFE Rename heat_stack_user role
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-heat
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 8.0 (Liberty)
Assignee: Zane Bitter
QA Contact: Amit Ugol
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-23 20:38 UTC by Andreas Karis
Modified: 2019-10-10 11:39 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-14 13:13:02 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Andreas Karis 2016-03-23 20:38:56 UTC
Description of problem:
Putting myself into the shoes of a customer who just deployed OSP. I'm assigning my user to different roles. I see the heat_stack_user role. I think: hey, my user needs to use heat, so I'm assigning him to the heat_stack_user role! And exactly the contrary happens. 
===>in policy.json,  the deny_stack_user is an allow rule for everyone but heat_stack_user 
 
Version-Release number of selected component (if applicable):
7

How reproducible:
all of the time

Steps to Reproduce:
1. 
2.
3.

Actual results:
heat_stack_user role is denied access to create heat stacks with a "not authorized"

Expected results:
the name is misleading. neither users nor support would see right away that this is a configuration mistake. you have to really knowwhat's happening, in order to understand what heat_stack_user role does exactly the opposite of what it sounds that it does. A name for a role however should help grasp the meaning of this role

Additional info:

http://hardysteven.blogspot.ca/2014/04/heat-auth-model-updates-part-2-stack.html

{
    "context_is_admin":  "role:admin",
    "deny_stack_user": "not role:heat_stack_user",
    "deny_everybody": "!",

    "cloudformation:ListStacks": "rule:deny_stack_user",
    "cloudformation:CreateStack": "rule:deny_stack_user",
(...)
}

Comment 3 Amit Ugol 2016-03-24 06:57:36 UTC
I dread thinking what would happen if the name is changed or anything else regarding this role.
This is more a Keystone feature request: Lock certain roles to certain users.


Note You need to log in before you can comment on or make changes to this bug.