You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2017/11/27 08:35:00 UTC
[jira] [Created] (KARAF-5506) ensure we also check the ACL for
alias cmds before auto-completer
Freeman Fang created KARAF-5506:
-----------------------------------
Summary: 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
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)