フォーラム

ホーム » Liferay Portal » English » 3. Development

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
Lior Hadaya
Setting default permissions for all new pages
2012/07/17 0:55
答え

Lior Hadaya

ランク: Regular Member

投稿: 138

参加年月日: 2012/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.
Muzakir Khan
RE: Setting default permissions for all new pages
2012/07/17 4:31
答え

Muzakir Khan

ランク: Regular Member

投稿: 112

参加年月日: 2012/03/14

最近の投稿

In liferay by default, the pages are Public.. So you cant directly force the new pages to be private pages

Kind Regards
Muzakir Khan
Pinkesh Gandhi
RE: Setting default permissions for all new pages
2012/07/18 5:23
答え

Pinkesh Gandhi

ランク: Regular Member

投稿: 100

参加年月日: 2012/01/26

最近の投稿

Are you trying to create pages through your code by using API?
Lior Hadaya
RE: Setting default permissions for all new pages
2012/07/18 6:58
答え

Lior Hadaya

ランク: Regular Member

投稿: 138

参加年月日: 2012/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.
Pinkesh Gandhi
RE: Setting default permissions for all new pages
2012/07/18 23:26
答え

Pinkesh Gandhi

ランク: Regular Member

投稿: 100

参加年月日: 2012/01/26

最近の投稿

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.
Lior Hadaya
RE: Setting default permissions for all new pages
2012/07/18 23:45
答え

Lior Hadaya

ランク: Regular Member

投稿: 138

参加年月日: 2012/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,
Tina Agrawal
RE: Setting default permissions for all new pages
2012/07/19 5:47
答え

Tina Agrawal

ランク: Expert

投稿: 294

参加年月日: 2008/01/02

最近の投稿

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