SYMPTOM:
When a user with Command Manager and cache monitoring privileges uses the Command Manager to delete a report cache with the 'delete report cache' command, the Command Manager will return a success message, however the report cache is not removed and is still visible under the cache monitor.
STEPS TO REPRODUCE:
- Create a security role with cache monitoring privilege only
- Create a user group with use Command Manager, Desktop Analyst and Desktop Designer privileges
- Create a user as a member of the group created in step 2
- Apply the security role to the group created in step 2 with Strategy Tutorial project
- Login to Desktop with the user created in step 3
- Run a report. Verify that the cache has been created using the cache monitor.
- Login to Command Manager with the same user and execute the command `DELETE REPORT CACHE `<report-name-in-cache-monitor-window>` `
- Observe the success message returned by Command Manager
- Navigate back to cache monitor in Desktop, the cache still exists
CAUSE:
The `Administer cache` privilege must be granted to the user to allow the user to delete caches. In this case, Command Manager should not display 'success message'.
ACTION:
Grant the user with the `Administer cache` privilege to allow the user to delete cache using Command Manager