ldap acl not working

24 views
Skip to first unread message

ron chatterton

unread,
Apr 8, 2025, 7:06:18 AM4/8/25
to rundeck-discuss
Hi 

Ive configured rendeck to authenticate against ldap - I can login as the ldap user no problem.

However once logged in I get 'not authorized to access any projects.'

Ive set the following acl .....

description: Admin, all access.
context:
  project: '.*' # all projects
for:
  resource:
    - allow: 'read'
  job:
    - allow: 'read'
  node:
    - allow: 'read'
by:
  group: rundeck_users

That group exists in ldap and and the rundeck logs shows it knows about the group too...
DEBUG jaas.JettyCachingLdapLoginModule - JettyCachingLdapLoginModule: User '<username>' has roles:  [, rundeck_users]

am I missing something else ??

Rgds
ron

rac...@rundeck.com

unread,
Apr 8, 2025, 9:29:10 AM4/8/25
to rundeck-discuss

Hi,

Please try this one:

description: Project ACL description context: project: '.*' # all projects for: resource: - allow: 'read' job: - allow: 'read' node: - allow: 'read' by: group: rundeck_users --- description: App ACL description context: application: 'rundeck' for: project: - allow: 'read' storage: - allow: 'read' by: group: rundeck_users

Here you can check a lot of examples. Here you can learn how ACL works.

Hope it helps!

ron chatterton

unread,
Apr 14, 2025, 5:21:31 AM4/14/25
to rundeck-discuss
Thank you worked a treat

rac...@rundeck.com

unread,
Apr 14, 2025, 9:23:03 AM4/14/25
to rundeck-discuss
Happy to help!
Reply all
Reply to author
Forward
0 new messages