core icon indicating copy to clipboard operation
core copied to clipboard

Limited user can select a Page content they do not have permissions to use

Open wezell opened this issue 11 years ago • 3 comments

From the browser, users should not be able to see types of page content tow which they have no permissions.

  1. login as a limited user - [email protected] / joe - who is only a contributor.

  2. go to the browser, right click and hit "add a page". You will get a popup that shows the default Page Asset - joe has not permissions to this content type. If you try the same thing with File Assets, the list is filtered correctly.

    screen shot 2015-02-20 at 11 02 56 am

  3. ALSO, while we are at it, we need to change the flyout menu to just say "Page", not "

    screen shot 2015-02-20 at 11 09 00 am HTML Page"

wezell avatar Feb 20 '15 16:02 wezell

Same thing happens for FileAsset type, just choose "FileAsset" as the default type for the folder, then log in as Joe and try to add a new Image or File under that folder, you will see type "FileAsset" first in the list

dsilvam avatar Feb 20 '15 18:02 dsilvam

Fix is working Tested on: 3.1 Nightly build 2015-02-21 21:54 // Ubuntu 14.04 // MySQL // Firefox & Chrome

shaydotcms avatar Feb 23 '15 17:02 shaydotcms

Added TC http://qa.dotcms.com/index.php?/cases/view/56642

shaydotcms avatar Mar 23 '15 16:03 shaydotcms