Updated Branches: refs/heads/master c5939faf5 -> ac17f0c3b
fixing permission issue Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/ac17f0c3 Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/ac17f0c3 Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/ac17f0c3 Branch: refs/heads/master Commit: ac17f0c3bb1aaa18460c9fb75767d16d653cde1b Parents: c5939fa Author: rekathiru <[email protected]> Authored: Wed Feb 12 07:35:39 2014 +0530 Committer: rekathiru <[email protected]> Committed: Wed Feb 12 07:35:39 2014 +0530 ---------------------------------------------------------------------- .../console/controllers/router.jag | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ac17f0c3/components/org.apache.stratos.manager.console/console/controllers/router.jag ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.manager.console/console/controllers/router.jag b/components/org.apache.stratos.manager.console/console/controllers/router.jag index 7d2cdb4..4e294b3 100755 --- a/components/org.apache.stratos.manager.console/console/controllers/router.jag +++ b/components/org.apache.stratos.manager.console/console/controllers/router.jag @@ -40,15 +40,15 @@ //This will short circuit the handling of the requests var passed=sm.check(session); - //var tenantDomain = session.get("TENANT_DOMAIN"); - //var roleArray = session.get("ROLE_ARRAY"); + var tenantDomain = session.get("TENANT_DOMAIN"); + var roleArray = session.get("ROLE_ARRAY"); // comment out the above and uncomment below code bits for testing. It removes authentication/authorization // of the app. //var passed=true; - var tenantDomain = "carbon.super"; - var roleArray = ["admin","Internal/Everyone"]; + //var tenantDomain = "carbon.super"; + //var roleArray = ["admin","Internal/Everyone"]; //Stop servicing the request if the check failed if(!passed){
