karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-5506) ensure we also check the ACL for alias cmds before auto-completer
Date Mon, 27 Nov 2017 08:35:00 GMT
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)

Mime
View raw message