{"action":"created","issue":{"url":"https://api.github.com/repos/OSTraining/Simplerenew/issues/351","labels_url":"https://api.github.com/repos/OSTraining/Simplerenew/issues/351/labels{/name}","comments_url":"https://api.github.com/repos/OSTraining/Simplerenew/issues/351/comments","events_url":"https://api.github.com/repos/OSTraining/Simplerenew/issues/351/events","html_url":"https://github.com/OSTraining/Simplerenew/issues/351","id":86071840,"number":351,"title":"Incorrect Joomla Permissions on Subscription?","user":{"login":"ActiveOrganisation","id":6387933,"avatar_url":"https://avatars.githubusercontent.com/u/6387933?v=3","gravatar_id":"","url":"https://api.github.com/users/ActiveOrganisation","html_url":"https://github.com/ActiveOrganisation","followers_url":"https://api.github.com/users/ActiveOrganisation/followers","following_url":"https://api.github.com/users/ActiveOrganisation/following{/other_user}","gists_url":"https://api.github.com/users/ActiveOrganisation/gists{/gist_id}","starred_url":"https://api.github.com/users/ActiveOrganisation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ActiveOrganisation/subscriptions","organizations_url":"https://api.github.com/users/ActiveOrganisation/orgs","repos_url":"https://api.github.com/users/ActiveOrganisation/repos","events_url":"https://api.github.com/users/ActiveOrganisation/events{/privacy}","received_events_url":"https://api.github.com/users/ActiveOrganisation/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-06-08T08:00:25Z","updated_at":"2015-06-10T07:14:17Z","closed_at":null,"body":"QUESTION\r\n\r\nHiya... \r\n\r\nWhen the User subscribes with Simple Renew, the page refreshes and the user then seems to have access. However, it appears that the JUser Object is not quite right. On Subscription, it looks like this:\r\n\r\nJUser Object\r\n(\r\n    [isRoot:protected] => \r\n    [id] => 597\r\n    [name] => Adam Clark\r\n    [username] => AdamClark\r\n    [email] => active_computing@hotmail.com\r\n    [password] => $2y$10$Lu.g1YeFtXs8/qWFegoIM.qgno1cGgARnwKmEoWHbKubUSr2a9lu.\r\n    [password_clear] => \r\n    [block] => \r\n    [sendEmail] => 0\r\n    [registerDate] => 2015-06-08 07:36:37\r\n    [lastvisitDate] => 2015-06-08 07:36:46\r\n    [activation] => \r\n    [params] => {}\r\n    [groups] => Array\r\n        (\r\n            [0] => 10\r\n        )\r\n\r\n    [guest] => 0\r\n    [lastResetTime] => 0000-00-00 00:00:00\r\n    [resetCount] => 0\r\n    [requireReset] => 0\r\n    [_params:protected] => Joomla\\Registry\\Registry Object\r\n        (\r\n            [data:protected] => stdClass Object\r\n                (\r\n                )\r\n\r\n            [separator] => .\r\n        )\r\n\r\n    [_authGroups:protected] => Array\r\n        (\r\n            [0] => 1\r\n            [1] => 2\r\n            [2] => 10\r\n        )\r\n\r\n    [_authLevels:protected] => Array\r\n        (\r\n            [0] => 1\r\n            [1] => 1\r\n            [2] => 2\r\n        )\r\n\r\n    [_authActions:protected] => \r\n    [_errorMsg:protected] => \r\n    [userHelper:protected] => JUserWrapperHelper Object\r\n        (\r\n        )\r\n\r\n    [_errors:protected] => Array\r\n        (\r\n        )\r\n\r\n    [otpKey] => \r\n    [otep] => \r\n    [socialConnectData] => stdClass Object\r\n        (\r\n            [image] => //www.gravatar.com/avatar/82543e39dcc532109d25e5d2ea5838f3?s=80&d=https%3A%2F%2Fwww.snipsquirrel.com%2Fmedia%2Fsocialconnect%2Fimages%2Favatar.jpg\r\n            [type] => \r\n        )\r\n\r\n)\r\n\r\n\r\n\r\n\r\n\r\nAnd.... when the user logs out and logs back in again, it looks like this: \r\n\r\nJUser Object\r\n(\r\n    [isRoot:protected] => \r\n    [id] => 597\r\n    [name] => Adam Clark\r\n    [username] => AdamClark\r\n    [email] => active_computing@hotmail.com\r\n    [password] => $2y$10$Lu.g1YeFtXs8/qWFegoIM.qgno1cGgARnwKmEoWHbKubUSr2a9lu.\r\n    [password_clear] => \r\n    [block] => 0\r\n    [sendEmail] => 0\r\n    [registerDate] => 2015-06-08 07:36:37\r\n    [lastvisitDate] => 2015-06-08 07:43:44\r\n    [activation] => \r\n    [params] => {}\r\n    [groups] => Array\r\n        (\r\n            [10] => 10\r\n        )\r\n\r\n    [guest] => 0\r\n    [lastResetTime] => 0000-00-00 00:00:00\r\n    [resetCount] => 0\r\n    [requireReset] => 0\r\n    [_params:protected] => Joomla\\Registry\\Registry Object\r\n        (\r\n            [data:protected] => stdClass Object\r\n                (\r\n                )\r\n\r\n            [separator] => .\r\n        )\r\n\r\n    [_authGroups:protected] => Array\r\n        (\r\n            [0] => 1\r\n            [1] => 2\r\n            [2] => 10\r\n        )\r\n\r\n    [_authLevels:protected] => Array\r\n        (\r\n            [0] => 1\r\n            [1] => 1\r\n            [2] => 2\r\n            [3] => 7\r\n        )\r\n\r\n    [_authActions:protected] => \r\n    [_errorMsg:protected] => \r\n    [userHelper:protected] => JUserWrapperHelper Object\r\n        (\r\n        )\r\n\r\n    [_errors:protected] => Array\r\n        (\r\n        )\r\n\r\n    [aid] => 0\r\n    [otpKey] => \r\n    [otep] => \r\n    [socialConnectData] => stdClass Object\r\n        (\r\n            [image] => //www.gravatar.com/avatar/82543e39dcc532109d25e5d2ea5838f3?s=80&d=https%3A%2F%2Fwww.snipsquirrel.com%2Fmedia%2Fsocialconnect%2Fimages%2Favatar.jpg\r\n            [type] => \r\n        )\r\n\r\n)\r\n\r\n\r\n\r\n\r\nI think the main concern is the AuthLevels:\r\n\r\n [_authLevels:protected] => Array\r\n        (\r\n            [0] => 1\r\n            [1] => 1\r\n            [2] => 2\r\n            [3] => 7\r\n        )\r\n\r\n\r\n\r\nOf which, \"7\" is he key access level for us that we have created.\r\n\r\n\r\n\r\nDo you have any thoughts on this?\r\n\r\n\r\nMany thanks\r\n\r\n\r\nAdam\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/OSTraining/Simplerenew/issues/comments/110626351","html_url":"https://github.com/OSTraining/Simplerenew/issues/351#issuecomment-110626351","issue_url":"https://api.github.com/repos/OSTraining/Simplerenew/issues/351","id":110626351,"user":{"login":"ActiveOrganisation","id":6387933,"avatar_url":"https://avatars.githubusercontent.com/u/6387933?v=3","gravatar_id":"","url":"https://api.github.com/users/ActiveOrganisation","html_url":"https://github.com/ActiveOrganisation","followers_url":"https://api.github.com/users/ActiveOrganisation/followers","following_url":"https://api.github.com/users/ActiveOrganisation/following{/other_user}","gists_url":"https://api.github.com/users/ActiveOrganisation/gists{/gist_id}","starred_url":"https://api.github.com/users/ActiveOrganisation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ActiveOrganisation/subscriptions","organizations_url":"https://api.github.com/users/ActiveOrganisation/orgs","repos_url":"https://api.github.com/users/ActiveOrganisation/repos","events_url":"https://api.github.com/users/ActiveOrganisation/events{/privacy}","received_events_url":"https://api.github.com/users/ActiveOrganisation/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T07:14:17Z","updated_at":"2015-06-10T07:14:17Z","body":"Hi Bill,\r\n\r\nThanks for the replies. Sorry for the delay in responding. Was out yesterday. To answer your questions.\r\n\r\nIt could well have happened after a Joomla update. But I can't be sure. \r\n\r\nIt would cause issues to users as they can't access the navigation they need post successful subscription completion - unless they log out and back in again,\r\n\r\nI am more than happy to try any patch you provide Bill. Trust you guys 100%. We always back up before hand so, if it breaks, it's no problem... just re-install with Akeeba.\r\n\r\nHappy to do whatever's needed.\r\n\r\n"}}