[
https://issues.apache.org/jira/browse/KARAF-5506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Freeman Fang resolved KARAF-5506.
---------------------------------
Resolution: Fixed
Fix Version/s: 4.2.0
> ensure we also check the ACL for alias cmds before auto-completer
> -----------------------------------------------------------------
>
> Key: KARAF-5506
> URL: https://issues.apache.org/jira/browse/KARAF-5506
> Project: Karaf
> Issue Type: Improvement
> Reporter: Freeman Fang
> Assignee: Freeman Fang
> Fix For: 4.2.0
>
>
> for example if we have
> {code}
> features:install = { feature:install $args } ;
> {code}
> in etc/shell.init.script, and we have a user with a role which can't use
> "feature:install" to ssh
> but currently we still can see command like "features:install " with
> auto-complete, though can't actually run it, we'd better check the visible in
> alias auto-completer also, to keep the behavior same as the original command:
> if you can't run it, you shouldn't see it
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)