掲示板

Setting default permissions for all new pages

11年前 に Lior Hadaya によって更新されました。

Setting default permissions for all new pages

Regular Member 投稿: 138 参加年月日: 12/01/24 最新の投稿
Hello,

I wonder if there is any way to change the default permissions for all new pages that are created?
For example, is there any way to force all new pages to be private pages?

Thank you very much,
Irit.
thumbnail
11年前 に Muzakir Khan によって更新されました。

RE: Setting default permissions for all new pages

Regular Member 投稿: 112 参加年月日: 12/03/15 最新の投稿
In liferay by default, the pages are Public.. So you cant directly force the new pages to be private pages

Kind Regards
Muzakir Khan
thumbnail
11年前 に Pinkesh Gandhi によって更新されました。

RE: Setting default permissions for all new pages

Junior Member 投稿: 99 参加年月日: 12/01/27 最新の投稿
Are you trying to create pages through your code by using API?
11年前 に Lior Hadaya によって更新されました。

RE: Setting default permissions for all new pages

Regular Member 投稿: 138 参加年月日: 12/01/24 最新の投稿
Right now I'm just investigating what's possible for me in Liferay.

If this is possible to change the defaults only through Liferay cofiguration it would be awesome, but I didn't find anything about it.
If there would be no other choice, I will create the pages in my code using the API, where I guess it would be easier to customize permissions...

As to your question, all options are open, what can you suggest?

Thank you.
Irit.
thumbnail
11年前 に Pinkesh Gandhi によって更新されました。

RE: Setting default permissions for all new pages

Junior Member 投稿: 99 参加年月日: 12/01/27 最新の投稿
Hi Lior,

My only concern is, if you want to create pages through portal UI then it's quite easy. You can create those pages under 'Private Pages' tab so the new pages will be created as a private pages as well as you can set your custom permissions through portal UI.

And on other side if you want to create such kind of pages through your code using Liferay API then also you can do it.

So now choice is in your hand. Based on your requirement you can go through any of these ways.

But still if it is not cleared to you, let me know for more clarification.
11年前 に Lior Hadaya によって更新されました。

RE: Setting default permissions for all new pages

Regular Member 投稿: 138 参加年月日: 12/01/24 最新の投稿
Hi and thank you for you quick response.

Can you please clarify?
What we need, is a way to change the permissions so that every new created page is private.
Including when I click the regular "Add page" button in the toolbar.
Is there any way to do that through the portal UI?

Thanks,
thumbnail
11年前 に Tina Agrawal によって更新されました。

RE: Setting default permissions for all new pages

Expert 投稿: 297 参加年月日: 08/01/03 最新の投稿
Hi,

I dont think you can directly do it through UI.

You will have to customize the dockbar portlet in order t achieve this.

Tina