-
Notifications
You must be signed in to change notification settings - Fork 987
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #4608 - Added description field to role #3684
Conversation
There were the following issues with the commit message:
If you don't have a ticket number, please create an issue in Redmine, selecting the appropriate project. More guidelines are available in Coding Standards or on the Foreman wiki. This message was auto-generated by Foreman's prprocessor |
There were the following issues with the commit message:
If you don't have a ticket number, please create an issue in Redmine, selecting the appropriate project. More guidelines are available in Coding Standards or on the Foreman wiki. This message was auto-generated by Foreman's prprocessor |
[test] - this activates the CI testing until you are added to the allowed list. |
11f15aa
to
9948868
Compare
This one was closed already in bugzilla as WONTFIX (https://bugzilla.redhat.com/show_bug.cgi?id=1104176) - what's the use case? It complicates our form for little benefit IMO. |
The reason was "As per upstream bug, adding description here to roles only would be inappropriate.", in upstream issue the only reason I can find is that it can't be considered as a bug so it was changed to RFE. Redmine issue remained open without further comments. The use-case that I find useful is writing some description to the role. E.g. default role could have description that it's being shared for all users. Maybe we should put it into the seed file but the question is how to deal with localization. Anyway I'd like to add comments to my roles.
you mean the form that only has name field on the first tab? |
[test] |
@dhlavac could you please rebase? |
Can an existing organization member please verify this patch? |
2 similar comments
Can an existing organization member please verify this patch? |
Can an existing organization member please verify this patch? |
9948868
to
85a228e
Compare
add to PR whitelist |
85a228e
to
a071c5a
Compare
@dLobatog are you still against merging and do we need more opinions to decide? |
On 09/21, Marek Hulán wrote:
I don't think it makes sense to have this or the other description field
Daniel Lobato Garcia @dLobatog GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30 |
Given that our RBAC is very fine grained and to a certain extent requires the user to know some of the internal implementation, I think the description on a role could be useful to users. It seems like in the future, it may be useful to have more default roles defined for the user. So that they could then use them directly or as input to build out roles specific to their needs. If/when that occurred, this could be useful in letting the user know what those default roles are. |
I'd +1 adding description too. RBAC can get very complex when used realistically for larger groups of users. Being able to add notes to a role would be a benefit. |
@dhlavac looks good, it only needs to list the new attribute in |
a071c5a
to
4f0769e
Compare
@ares added |
4f0769e
to
e075aa2
Compare
Thanks @dhlavac, merged as 5384798. Could you please also create a simple patch for hammer-cli-foreman so it starts displaying the field? |
@ares sure |
No description provided.