[
https://issues.apache.org/jira/browse/KARAF-5014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17896679#comment-17896679
]
ASF GitHub Bot commented on KARAF-5014:
---------------------------------------
jbonofre commented on PR #1863:
URL: https://github.com/apache/karaf/pull/1863#issuecomment-2464918915
Sorry for the delay in the review/comment. I want to provide some context.
The idea of the first "role" in a group definition, it's not actually a role
but just a "prefix" (`group,`) to indicate that we are in a group.
That's why be default, in `etc/users.properties` you have:
```
_g_\:admingroup = group,admin,manager,viewer,systembundles,ssh
```
You can see that `group` here is not actually a role in `admingroup` but a
"prefix flag".
I agree it's confusing (including the documentation), but if we "change" to
remove the prefix, it means that `group` would be considered as a role in
`admingroup`.
> First role of group definition in users.properties missing
> -----------------------------------------------------------
>
> Key: KARAF-5014
> URL: https://issues.apache.org/jira/browse/KARAF-5014
> Project: Karaf
> Issue Type: Bug
> Components: karaf
> Affects Versions: 4.0.4
> Reporter: Andre Schlegel-Tylla
> Assignee: Jean-Baptiste Onofré
> Priority: Major
>
> The first role of an group got lost in role list:
> {code}
> bpcadmin = {CRYPT}...{CRYPT},bpcadmin,_g_\:zauberer,_g_\:masterdata
> _g_\:masterdata = VAM-administrator,VAM_organization_12001,wosinddieweiteren
> _g_\:zauberer=erstefehlt,abracadabra,simsalabim,sesamoeffnedich,hexhex
> {code}
> The roles "VAM-administrator" and "erstefehlt" are not listet on user
> "bpcadmin".
--
This message was sent by Atlassian Jira
(v8.20.10#820010)