Question: I am using sharepoint 2010. I have created some reporting service report. On some page, I have created the PerformancePoint webpart to show the reporting service report. It works and shows content. But when I change the data and go again to the page with the performancePoint webpart, it shows the old content. It looks like it shows the cached content. When I open this page on another tab I have the same issue. When open a private session it works fine, I can see the latest content.

It looks like there is some caching on the session.

How can I fix this reporting service caching issue?

ps. I have turned off the toolbar from this report

Answer: 
Use `EffectiveBasePermissions` to get permissions of the user on a list. Example:

```
http://aissp2013/sites/Team/_api/web/lists/getbytitle('L2')/EffectiveBasePermissions

```

Note that this will give the permissions of the logged in user. However, if the need is to check for other users permission while being logged in using as a different user then as suggested by @Amit, use `getusereffectivepermissions`. In any case the end result is high and low permission masks which don't make much sense and a way to decipher what permissions a user has is to use `SP.BasePermissions().has` as can be seen in below example:

```
function checkPermissions() {
    var call = jQuery.ajax({
        url: _spPageContextInfo.webAbsoluteUrl +
            "/_api/Web/effectiveBasePermissions",
        type: "GET",
        dataType: "json",
        headers: {
            Accept: "application/json;odata=verbose"
        }
    });

    call.done(function (data, textStatus, jqXHR) {
        var manageListsPerms = new SP.BasePermissions();
        manageListsPerms.initPropertiesFromJson(data.d.EffectiveBasePermissions);

        var manageLists = manageListsPerms.has(SP.PermissionKind.manageLists);

        var message = jQuery("#message");
        message.text("Manage Lists: " + manageLists);
    });
}

```
This should do the job you need:

```
http://yourserver/yoursite/_api/lists/getbytitle('yourlisttitle')/RoleAssignments/GetByPrincipalId(idOfTheUserOrGroup)/RoleDefinitionBindings

```

Be aware, that there is no such as elevated permissions in the client side APIs, so the user executing the code should have the right to read permissions.