{"action":"created","issue":{"url":"https://api.github.com/repos/Studio-42/elFinder/issues/1549","repository_url":"https://api.github.com/repos/Studio-42/elFinder","labels_url":"https://api.github.com/repos/Studio-42/elFinder/issues/1549/labels{/name}","comments_url":"https://api.github.com/repos/Studio-42/elFinder/issues/1549/comments","events_url":"https://api.github.com/repos/Studio-42/elFinder/issues/1549/events","html_url":"https://github.com/Studio-42/elFinder/issues/1549","id":167329692,"number":1549,"title":"How to hide/disable toolbar icons based on file attributes/properties","user":{"login":"paulcanning","id":1275739,"avatar_url":"https://avatars.githubusercontent.com/u/1275739?v=3","gravatar_id":"","url":"https://api.github.com/users/paulcanning","html_url":"https://github.com/paulcanning","followers_url":"https://api.github.com/users/paulcanning/followers","following_url":"https://api.github.com/users/paulcanning/following{/other_user}","gists_url":"https://api.github.com/users/paulcanning/gists{/gist_id}","starred_url":"https://api.github.com/users/paulcanning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulcanning/subscriptions","organizations_url":"https://api.github.com/users/paulcanning/orgs","repos_url":"https://api.github.com/users/paulcanning/repos","events_url":"https://api.github.com/users/paulcanning/events{/privacy}","received_events_url":"https://api.github.com/users/paulcanning/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Studio-42/elFinder/labels/howto","name":"howto","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-25T10:00:33Z","updated_at":"2016-07-27T02:50:21Z","closed_at":"2016-07-27T02:50:21Z","body":"How can I hide or disable an icon in the toolbar e.g. the delete button, based on a selected files attributes.\r\n\r\nE.g. I currently add custom properties to each file when they are loaded, using the `bind` options in my connector. I would like to hide (or disable) the delete icon if a selected file has a specific custom property of `do_not_delete = 1`"},"comment":{"url":"https://api.github.com/repos/Studio-42/elFinder/issues/comments/235467140","html_url":"https://github.com/Studio-42/elFinder/issues/1549#issuecomment-235467140","issue_url":"https://api.github.com/repos/Studio-42/elFinder/issues/1549","id":235467140,"user":{"login":"nao-pon","id":1412630,"avatar_url":"https://avatars.githubusercontent.com/u/1412630?v=3","gravatar_id":"","url":"https://api.github.com/users/nao-pon","html_url":"https://github.com/nao-pon","followers_url":"https://api.github.com/users/nao-pon/followers","following_url":"https://api.github.com/users/nao-pon/following{/other_user}","gists_url":"https://api.github.com/users/nao-pon/gists{/gist_id}","starred_url":"https://api.github.com/users/nao-pon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nao-pon/subscriptions","organizations_url":"https://api.github.com/users/nao-pon/orgs","repos_url":"https://api.github.com/users/nao-pon/repos","events_url":"https://api.github.com/users/nao-pon/events{/privacy}","received_events_url":"https://api.github.com/users/nao-pon/received_events","type":"User","site_admin":false},"created_at":"2016-07-27T02:50:21Z","updated_at":"2016-07-27T02:50:21Z","body":"@paulcanning This project is issued under a [3-clauses BSD license](https://github.com/Studio-42/elFinder#license). If you can not accept this license, you will not be able to use the elFinder."}}
{"actor":{"display_login":"nao-pon"}}