{"action":"created","issue":{"url":"https://api.github.com/repos/Laravel-Backpack/CRUD/issues/455","repository_url":"https://api.github.com/repos/Laravel-Backpack/CRUD","labels_url":"https://api.github.com/repos/Laravel-Backpack/CRUD/issues/455/labels{/name}","comments_url":"https://api.github.com/repos/Laravel-Backpack/CRUD/issues/455/comments","events_url":"https://api.github.com/repos/Laravel-Backpack/CRUD/issues/455/events","html_url":"https://github.com/Laravel-Backpack/CRUD/issues/455","id":207769596,"number":455,"title":"Customizing the User form and \"row level security\"","user":{"login":"avifatal","id":12430740,"avatar_url":"https://avatars1.githubusercontent.com/u/12430740?v=4","gravatar_id":"","url":"https://api.github.com/users/avifatal","html_url":"https://github.com/avifatal","followers_url":"https://api.github.com/users/avifatal/followers","following_url":"https://api.github.com/users/avifatal/following{/other_user}","gists_url":"https://api.github.com/users/avifatal/gists{/gist_id}","starred_url":"https://api.github.com/users/avifatal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avifatal/subscriptions","organizations_url":"https://api.github.com/users/avifatal/orgs","repos_url":"https://api.github.com/users/avifatal/repos","events_url":"https://api.github.com/users/avifatal/events{/privacy}","received_events_url":"https://api.github.com/users/avifatal/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2017-02-15T10:51:01Z","updated_at":"2017-09-11T10:05:48Z","closed_at":"2017-02-18T23:36:14Z","author_association":"NONE","body":"Hi,\r\nI am building a P.O.C of a multi tenant app.\r\nIn general, I have Office entity, each user belongs to one Office (each office has Many Users).\r\n1. When adding a new user, I need to add another field combo box for office selection.  this user will be added with a permission add-users-to-my-office (office-manager role)\r\nhow can I tweak the User entity? or do i need third part entity to connect user to office?\r\n\r\n2. After I achieve this, I want to allow all office managers to add users to their office only. and list only their office users, is that possible? do you have an example for that? (kind of row level security)\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/Laravel-Backpack/CRUD/issues/comments/328483842","html_url":"https://github.com/Laravel-Backpack/CRUD/issues/455#issuecomment-328483842","issue_url":"https://api.github.com/repos/Laravel-Backpack/CRUD/issues/455","id":328483842,"user":{"login":"OwenMelbz","id":1094740,"avatar_url":"https://avatars2.githubusercontent.com/u/1094740?v=4","gravatar_id":"","url":"https://api.github.com/users/OwenMelbz","html_url":"https://github.com/OwenMelbz","followers_url":"https://api.github.com/users/OwenMelbz/followers","following_url":"https://api.github.com/users/OwenMelbz/following{/other_user}","gists_url":"https://api.github.com/users/OwenMelbz/gists{/gist_id}","starred_url":"https://api.github.com/users/OwenMelbz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OwenMelbz/subscriptions","organizations_url":"https://api.github.com/users/OwenMelbz/orgs","repos_url":"https://api.github.com/users/OwenMelbz/repos","events_url":"https://api.github.com/users/OwenMelbz/events{/privacy}","received_events_url":"https://api.github.com/users/OwenMelbz/received_events","type":"User","site_admin":false},"created_at":"2017-09-11T10:05:48Z","updated_at":"2017-09-11T10:05:48Z","author_association":"MEMBER","body":"I'd read up on how PHP Namespaces work -> https://daylerees.com/php-namespaces-explained/\r\n\r\nMight help you spot your problem - but again read the error carefully and check your code for duplication to see what the clash might be.\r\n\r\nHint: Its nothing to do with the routes."}}
{"actor":{"display_login":"OwenMelbz"}}