{"action":"created","issue":{"url":"https://api.github.com/repos/bleroy/OrchardImportTest/issues/1009","labels_url":"https://api.github.com/repos/bleroy/OrchardImportTest/issues/1009/labels{/name}","comments_url":"https://api.github.com/repos/bleroy/OrchardImportTest/issues/1009/comments","events_url":"https://api.github.com/repos/bleroy/OrchardImportTest/issues/1009/events","html_url":"https://github.com/bleroy/OrchardImportTest/issues/1009","id":66003274,"number":1009,"title":"User of role without permission \"Manage Media\" can delete parent media folder.(eeaf2e74d8b7) ","user":{"login":"bleroy","id":1165609,"avatar_url":"https://avatars.githubusercontent.com/u/1165609?v=3","gravatar_id":"","url":"https://api.github.com/users/bleroy","html_url":"https://github.com/bleroy","followers_url":"https://api.github.com/users/bleroy/followers","following_url":"https://api.github.com/users/bleroy/following{/other_user}","gists_url":"https://api.github.com/users/bleroy/gists{/gist_id}","starred_url":"https://api.github.com/users/bleroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleroy/subscriptions","organizations_url":"https://api.github.com/users/bleroy/orgs","repos_url":"https://api.github.com/users/bleroy/repos","events_url":"https://api.github.com/users/bleroy/events{/privacy}","received_events_url":"https://api.github.com/users/bleroy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-02T20:16:46Z","updated_at":"2015-04-02T20:16:47Z","closed_at":null,"body":"Repro steps:  \n\n  1. Log on to orchard as admin. \n  2. Create a parent media folder, and then create a sub media folder for it. \n  3. Create a role with all permissions without \"SiteOwner\" and \"ManageMedia\", and then create a user with the role assigned. \n  4. Log off and Log on by the user in step#3. \n  5. Try to delete the sub media folder and then delete the parent media folder.   \n\nExpected:  \nBoth of the sub media folder and parent media folder cann't be deleted.  \nActual:  \nThe sub media folder cann't be deleted, yet the parent media folder can be\ndeleted successfully.  \n\nWork Item Details\n--------------------\n**Original CodePlex Issue:**\t[Issue 17119](http://orchard.codeplex.com/workitem/17119)\n**Status:**\tClosed\n**Reason Closed:**\tUnassigned\n**Assigned to:**\tUnassigned\n**Reported on:**\tDec 16, 2010 at 7:48 AM\n**Reported by:**\tvhozeng\n**Updated on:**\tApr 11, 2011 at 6:48 PM\n**Updated by:**\tsuhacan\n**Closed on:**\tApr 11, 2011 at 6:48 PM\n**Closed by:**\tsuhacan\n**Status:**\tClosed\n**Reason Closed:**\tUnassigned\n**Assigned to:**\tUnassigned\n**Reported on:**\tDec 16, 2010 at 7:48 AM\n**Reported by:**\tvhozeng\n**Updated on:**\tApr 11, 2011 at 6:48 PM\n**Updated by:**\tsuhacan\n**Closed on:**\tApr 11, 2011 at 6:48 PM\n**Closed by:**\tsuhacan\n"},"comment":{"url":"https://api.github.com/repos/bleroy/OrchardImportTest/issues/comments/89032332","html_url":"https://github.com/bleroy/OrchardImportTest/issues/1009#issuecomment-89032332","issue_url":"https://api.github.com/repos/bleroy/OrchardImportTest/issues/1009","id":89032332,"user":{"login":"bleroy","id":1165609,"avatar_url":"https://avatars.githubusercontent.com/u/1165609?v=3","gravatar_id":"","url":"https://api.github.com/users/bleroy","html_url":"https://github.com/bleroy","followers_url":"https://api.github.com/users/bleroy/followers","following_url":"https://api.github.com/users/bleroy/following{/other_user}","gists_url":"https://api.github.com/users/bleroy/gists{/gist_id}","starred_url":"https://api.github.com/users/bleroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleroy/subscriptions","organizations_url":"https://api.github.com/users/bleroy/orgs","repos_url":"https://api.github.com/users/bleroy/repos","events_url":"https://api.github.com/users/bleroy/events{/privacy}","received_events_url":"https://api.github.com/users/bleroy/received_events","type":"User","site_admin":false},"created_at":"2015-04-02T20:16:47Z","updated_at":"2015-04-02T20:16:47Z","body":"On *2011-01-12 02:04:53 UTC*, **rpaquay** commented:\n\nNot repro. When i log in as the new user, i don't get any \"Media\" menu as expected.\n\r\n** Closed by rpaquay 01/11/2011 11:04AM\n"}}