RFC: permissions for cost entry
Angus Thomas
athomas at redhat.com
Mon Nov 26 10:44:03 UTC 2012
On 11/22/2012 07:22 AM, Martin Povolny wrote:
> Hi.
>
> I wonder if when assigning costs to hardware profiles and hardware profile
> properties, I should use the same privilege as would be used when
> editing the hardware profile.
>
> That is:
>
> require_privilege(Privilege::MODIFY, @hardware_profile)
>
>
> My thinking goes:
>
> I don't want a separate path in the UI for assigning costs, as it would
> be even more confusing then now. So in the place where you can find the
> UI to edit frontend hardware profile I put the cost assignment for
> backend profile.
>
> Given it's in almost the same place and from user's point of view it
> deals with the hardware profile, then it would be logical to use the
> same privilege.
>
> Thoughts?
>
Sounds good to me, Martin.
There's a whole other persona associated with deciding what the costs
should be, but the person who actually assigns the costs in Conductor is
likely to be the sys admin who deals with other aspects of hardware
profile management.
Angus
More information about the aeolus-devel
mailing list