configuration - Remove VIEW permission automatically from Guest Role when a site-page is added -


in liferay when page added site default gives view permission guest role.

permission window site page

is there way (either through configuration or through hook or other) disable default view permission disabled guest role when new page added site?

well, while page [layout-in liferay low level context] added public page, liferay assigns default permissions guest role defined in sites.xml layout model.

basically there 2 ways avoid through ext development:

  1. remove guest default permissions sites.xml
  2. change code in layoutlocalserviceimpl in ext over-riding addlayout method having addgrouppermissions boolean value false.

Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -