jia3apb edited a comment on issue #2679: Non-admin user interface reload (ctrl+R) causes dropping session URL: https://github.com/apache/cloudstack/issues/2679#issuecomment-400195898 Problem was solved by adding **if (isAdmin()){** in cloudStack.js in line 175. Result is: ``` if (isAdmin()){ $.ajax({ type: 'GET', url: createURL('listConfigurations'), data: {name: 'default.ui.page.size'}, dataType: 'json', async: false, success: function(data, textStatus, xhr) { if (data && data.listconfigurationsresponse && data.listconfigurationsresponse.configuration) { var config = data.listconfigurationsresponse.configuration[0]; if (config && config.name == 'default.ui.page.size') { pageSize = parseInt(config.value); } } }, error: function(xhr) { // ignore any errors, fallback to the default } }); } ``` It seems like usage of this API method **listConfigurations** by non-admin user drops the session.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services