[ZBX-23498] User group "No access to the frontend" blocks API execution. Created: 2023 Oct 04  Updated: 2024 Apr 10  Resolved: 2023 Oct 05

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A), Frontend (F)
Affects Version/s: 5.0.38, 6.0.22, 6.4.7, 7.0.0alpha5
Fix Version/s: None

Type: Problem report Priority: Major
Reporter: Tomass Olups (Inactive) Assignee: Zabbix Development Team
Resolution: Duplicate Votes: 0
Labels: API, Permissions, user
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File def.png    
Issue Links:
Duplicate
duplicates ZBX-23262 API is not accessible if access to th... Closed
Team: Team C

 Description   

Steps to reproduce:

  1. Create new API user;
  2. Add groups "Internal users", "No access to the frontend";
  3. Add super admin role to this user;
  4. Log out and try to sign in to the user;
  5. Observe, that you receive error "No permissions for system access."
  6. 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.


Generated at Sat Apr 05 09:19:37 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.