-
Problem report
-
Resolution: Duplicate
-
Major
-
None
-
5.0.38, 6.0.22, 6.4.7, 7.0.0alpha5
Steps to reproduce:
- Create new API user;
- Add groups "Internal users", "No access to the frontend";
- Add super admin role to this user;
- Log out and try to sign in to the user;
- Observe, that you receive error "No permissions for system access."
- Open console and execute curl command:
curl -k -w "\n" -s -X POST -H 'Content-Type: application/json-rpc' -d ' {"jsonrpc":"2.0","method":"user.login", "params": {"username":"zabbix_api","password":"yourpassword"}, "id":1,"auth":null} ' http://yourIP/master/api_jsonrpc.php
Result:
Expected:
API successfully executed, result received.
- duplicates
-
ZBX-23262 API is not accessible if access to the front-end is disabled
- Closed