{"action":"created","issue":{"url":"https://api.github.com/repos/darol100/better_admin_menu/issues/1","labels_url":"https://api.github.com/repos/darol100/better_admin_menu/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/darol100/better_admin_menu/issues/1/comments","events_url":"https://api.github.com/repos/darol100/better_admin_menu/issues/1/events","html_url":"https://github.com/darol100/better_admin_menu/issues/1","id":68700400,"number":1,"title":"Permission string inconsistent","user":{"login":"prodigio","id":8196417,"avatar_url":"https://avatars.githubusercontent.com/u/8196417?v=3","gravatar_id":"","url":"https://api.github.com/users/prodigio","html_url":"https://github.com/prodigio","followers_url":"https://api.github.com/users/prodigio/followers","following_url":"https://api.github.com/users/prodigio/following{/other_user}","gists_url":"https://api.github.com/users/prodigio/gists{/gist_id}","starred_url":"https://api.github.com/users/prodigio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prodigio/subscriptions","organizations_url":"https://api.github.com/users/prodigio/orgs","repos_url":"https://api.github.com/users/prodigio/repos","events_url":"https://api.github.com/users/prodigio/events{/privacy}","received_events_url":"https://api.github.com/users/prodigio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-15T14:41:57Z","updated_at":"2015-04-16T14:55:32Z","closed_at":null,"body":"Hi Darryl,\r\n\r\nIt took me about an hour and a half to figure out why your otherwise nice Drupal module didn't work as it should for my co-administrator.  In function better_admin_menu_permission() you create a permission 'administer **better admin** menu', while in the next function better_admin_menu_page_build() you are checking on permission 'administer **admin better** menu'...  note the switch of \"admin\" and \"better\".  That permission of course will never check TRUE except for user 1.\r\n\r\nCheers,\r\nFetze"},"comment":{"url":"https://api.github.com/repos/darol100/better_admin_menu/issues/comments/93755262","html_url":"https://github.com/darol100/better_admin_menu/issues/1#issuecomment-93755262","issue_url":"https://api.github.com/repos/darol100/better_admin_menu/issues/1","id":93755262,"user":{"login":"prodigio","id":8196417,"avatar_url":"https://avatars.githubusercontent.com/u/8196417?v=3","gravatar_id":"","url":"https://api.github.com/users/prodigio","html_url":"https://github.com/prodigio","followers_url":"https://api.github.com/users/prodigio/followers","following_url":"https://api.github.com/users/prodigio/following{/other_user}","gists_url":"https://api.github.com/users/prodigio/gists{/gist_id}","starred_url":"https://api.github.com/users/prodigio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prodigio/subscriptions","organizations_url":"https://api.github.com/users/prodigio/orgs","repos_url":"https://api.github.com/users/prodigio/repos","events_url":"https://api.github.com/users/prodigio/events{/privacy}","received_events_url":"https://api.github.com/users/prodigio/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T14:55:32Z","updated_at":"2015-04-16T14:55:32Z","body":"Ah, that is great. I didn't know about the module been added to the\nDrupal colelction yet; it solves my issue right away.\n\nThanks a lot, Darryl!\n\nFetze\n\n\nOn Wed, Apr 15, 2015, at 16:52, Darryl Norris wrote:\n> @prodigio[1] , I'm sorry if this was a problem. I remove the hook_menu\n> permission for the actual module at the Drupal.org. Just because some\n> people thought it was useless. I have re-name the project to\n> admin_menu_navbar and it an updated version of this module. I would\n> update this weekend this project on GitHub.\n\n\n> I would strongly suggest to download the module from Drupal because\n> you can get updates. https://www.drupal.org/project/admin_menu_navbar.\n> In addition, if you download the module from Drupal I can keep track\n> of the module usage.\n\n> Sorry for any inconvenience. Thank you for reporting.\n\n\n\n\n\nLinks:\n\n  1. https://github.com/prodigio\n"}}