[ZBX-10251] map.get API method with option "countOutput" returns count of all maps for super admins and regular users with restricted permissions Created: 2016 Jan 11  Updated: 2017 May 30  Resolved: 2016 Jan 28

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A)
Affects Version/s: 2.2.12rc1, 2.4.8rc1
Fix Version/s: 2.2.12rc1, 2.4.8rc1, 3.0.0beta2

Type: Incident report Priority: Trivial
Reporter: Gunars Pujats (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: api, count, maps
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate

 Description   

map.get API method with option "countOutput" returns count of all maps for restricted users. Permissions are checked after getting count.



 Comments   
Comment by Gunars Pujats (Inactive) [ 2016 Jan 18 ]

(1) No translation strings changed.

iivs CLOSED

Comment by Gunars Pujats (Inactive) [ 2016 Jan 18 ]

RESOLVED in development branch svn://svn.zabbix.com/branches/dev/ZBX-10251

Comment by Ivo Kurzemnieks [ 2016 Jan 26 ]

(2) Incorrect field requested. Please, review my changes in r57966
Otherwise it seems to work.

gunarspujats CLOSED

Comment by Ivo Kurzemnieks [ 2016 Jan 26 ]

TESTED,

close (2) before merging.

Comment by Gunars Pujats (Inactive) [ 2016 Jan 27 ]

Fixed in:

  • pre-2.2.12rc1 r58000
  • pre-2.4.8rc1 r58001
  • pre-3.0.0beta2 (trunk) r58002
Comment by Gunars Pujats (Inactive) [ 2016 Jan 27 ]

(3) API documentation:

iivs Looks good!

CLOSED

Generated at Fri Apr 19 22:34:32 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.