[
https://issues.apache.org/jira/browse/KARAF-5014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17883363#comment-17883363
]
ASF GitHub Bot commented on KARAF-5014:
---------------------------------------
stataru8 opened a new pull request, #1863:
URL: https://github.com/apache/karaf/pull/1863
This issue is quite old and only affects those who directly modify the
`users` file. I'm not sure if it is still relevant, or if the current behaviour
should be considered acceptable.
Current behaviour:
- the first role in a group is ignored
- when a group is created via `jaas` commands, the role `group` is added by
default
Proposal:
- consider the first role in a group
- when a group is created using `jaas` commands, add an empty role by
default
- ignore empty roles in both users and groups
> 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
> 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)