Closed Wolvverine closed 2 years ago
By default, the report is placed in the user entity. The problem is when the user who generates the report does not have access to this entity. Because it is in a subordinate entity.
$ req = $ DB-> request ( 'glpi_users', ['id' => $ id]);
if ($ row = $ req-> next ()) { $ entity = $ row ["entities_id"]; }
I guess In that case the report should be saved in the generating entities ??
Resolved: https://github.com/Wolvverine/protocolsmanager/commit/886fe64e7fcf6bca004827c277ba2b43304e37e3
By default, the report is placed in the user entity. The problem is when the user who generates the report does not have access to this entity. Because it is in a subordinate entity.
$ req = $ DB-> request ( 'glpi_users', ['id' => $ id]);
if ($ row = $ req-> next ()) { $ entity = $ row ["entities_id"]; }
I guess In that case the report should be saved in the generating entities ??