Open mzueva opened 1 year ago
@mzueva , @okolesn
Bug:
The report isn't generated for a list of users (separated by a comma or space).
Message in the log: No users found to collect and send statistics.
@mzueva , @okolesn
Bug:
Values Storage write requests count: 0. Storage read requests count: 0.
are returned in reports for all users.
@mzueva , @okolesn
Bug:
Method POST /pipeline/restapi/user-notification/message
gives error
{"message":"Failed to evaluate expression 'hasRole('ADMIN') OR @notificationPermissionManager.hasPermission(#notification)'","status":"ERROR"}
for non-admin users.
As result non-admin user can't close the notification.
@mzueva , @okolesn Bug: Method
POST /pipeline/restapi/user-notification/message
gives error{"message":"Failed to evaluate expression 'hasRole('ADMIN') OR @notificationPermissionManager.hasPermission(#notification)'","status":"ERROR"}
for non-admin users. As result non-admin user can't close the notification.
Verified as fixed
Background It would be useful to send to users a letter on scheduled basis with insights on the platform usage.
Approach Let's create a python script which generates letters with user's stats for the specified period. Script arguments: from (date), to (date), list of users (reports shall be generated for all specified users), list of roles (reports shall be generated for all users belonging to groups). Lists of users and roles may be specified simultaneously.
Report shall include the following data:
Overall:
Most-used: