Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-5506

ensure we also check the ACL for alias cmds before auto-completer

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.0.M2
    • Component/s: None
    • Labels:
      None

      Description

      for example if we have

      features:install = { feature:install $args } ;
      

      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

        Attachments

          Activity

            People

            • Assignee:
              ffang Freeman Fang
              Reporter:
              ffang Freeman Fang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: