Advertisement
Guest User

rundeck_users.aclpolicy yaml

a guest
Dec 14th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. ---
  2. description: "Ops Engineers can launch jobs but not edit them"
  3. context:
  4. project: *
  5. for:
  6. resource:
  7. - equals:
  8. kind: 'node'
  9. allow: [read,update,refresh]
  10. - equals:
  11. kind: 'job'
  12. allow: [read,run,kill]
  13. - equals:
  14. kind: 'adhoc'
  15. allow: [read,run,kill]
  16. - equals:
  17. kind: 'event'
  18. allow: [read,create]
  19. job:
  20. - match:
  21. name: '.*'
  22. allow: [read,run,kill]
  23. adhoc:
  24. - match:
  25. name: '.*'
  26. allow: [read,run,kill]
  27. node:
  28. - match:
  29. nodename: '.*'
  30. allow: [read,run,refresh]
  31. by:
  32. group:
  33. - rundeck_users
  34.  
  35. ---
  36. context:
  37. application: rundeck
  38. description: "Ops Engineers can launch jobs but not edit them"
  39. for:
  40. project:
  41. - match:
  42. name: '*'
  43. allow: [read]
  44. system:
  45. - match:
  46. name: '.*'
  47. allow: [read]
  48. by:
  49. group:
  50. - rundeck_users
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement