You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

org.apache.karaf.command.acl.bundle.cfg 1.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. ################################################################################
  2. #
  3. # Licensed to the Apache Software Foundation (ASF) under one or more
  4. # contributor license agreements. See the NOTICE file distributed with
  5. # this work for additional information regarding copyright ownership.
  6. # The ASF licenses this file to You under the Apache License, Version 2.0
  7. # (the "License"); you may not use this file except in compliance with
  8. # the License. You may obtain a copy of the License at
  9. #
  10. # http://www.apache.org/licenses/LICENSE-2.0
  11. #
  12. # Unless required by applicable law or agreed to in writing, software
  13. # distributed under the License is distributed on an "AS IS" BASIS,
  14. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. # See the License for the specific language governing permissions and
  16. # limitations under the License.
  17. #
  18. ################################################################################
  19. #
  20. # This configuration file defines the ACLs for commands in the bundle subshell
  21. #
  22. # For an explanation of the syntax of this file, see the file:
  23. # org.apache.karaf.command.acl.system.cfg
  24. #
  25. # This configuration relies on the fact that 'system' bundles need to be managed
  26. # with the
  27. # -f (--force)
  28. # flag. Operations with -f need admin permission. Most of these operations without
  29. # the 'force' option can be done by a manager.
  30. install = admin
  31. refresh[/.*[-][f].*/] = admin
  32. refresh = manager
  33. restart[/.*[-][f].*/] = admin
  34. restart = manager
  35. start[/.*[-][f].*/] = admin
  36. start = manager
  37. stop[/.*[-][f].*/] = admin
  38. stop = manager
  39. uninstall[/.*[-][f].*/] = admin
  40. uninstall = manager
  41. update[/.*[-][f].*/] = admin
  42. update = manager
  43. watch = admin