[BUG] salt-api always takes *
ACL in configuration instead of acl method from rest.py
#62022
Labels
Bug
broken, incorrect, or confusing behavior
needs-triage
Salt-API
security
issues and PRs for the Security Working Group
Description
When the external_auth is rest
Instead of taking permission ACL from
acl
method fromrest.py
. It always takes the*
permission in the configurationSetup
Simple auth rest API on
localhost:3000/api/login
The restful API return the list of permissions
In
/srv/configs/master/api.conf
In
/srv/configs/master/api.conf
Steps to Reproduce the behavior
Use
curl
tool to post login requestJson return
Expected behavior
Json return
Screenshots
If applicable, add screenshots to help explain your problem.
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)Additional context
The current
acl
method inrest.py
The text was updated successfully, but these errors were encountered: