I was sure that group and UserGroup are synonym in liferay. Now I think that i was wrong. What is difference between UserGroup and Group?
You can find details about UserGroup at link User Groups
Group basically refers to Site in Liferay. Site can have set of pages and members. UserGroup/User/Organization can have pages and hence respective Group will be created for it.
Related
Is it possible to set VIEW only permission to a single document library file (DLFileEntry) to the users of a different site.
Example : DocumentA exists in SiteA and I want to set view permissions to all the users of SITEB only to this document.
Thanks for reading.
-Mike
You'll need some kind of indirection: Permissions in Liferay are handled through roles (teams behave as roles as well), not by other arbitrary groups of users. If you assign all the users to a user group and make that user group member of the site in question, as well as assign them to a role that you create for this purpose.
I created a group of users in the SharePoint subsite, i.e. pressed Create Group button on a ribbon of this particular subsite Permissions page. Nevertheless I see this group in the list of groups in my parent site.
Does this mean that all SharePoint groups are stored on the site collection level? Meaning that all groups are relevant to any site in the collection?
If this is so, what were the reasons for this design?
Yes, you can access all groups from the main site and any website in the collection. And I guess the reason is to give you the ability to use any group in any website under your collection.
I am new to liferay. I have one issue. I have 3 sub organizations (org A, B and C) each has each individual users. For exampla UA1, UB2, UC3 respectively.
Now I want to customize the permission of document and media portlet in such a way that UA1 can upload/ download his documents. But another User in Org A for example UA4 cannot access UA1's document. In the meanwhile Users UB2 and UC3 can see user UA1's document or add new document for her.
Can I achieve this my creating roles and permission? I have tried many combinations but it's not working.
How can I achieve this. Please do let me know. thanks
Here we have 2 cases
1. User of same organization can't view the image added by other user of same org.It can be achieved by creating an custom resource-action say (SCOPE_INDIVIDUAL) and manage it permission.
2.User of other organization can view the content can me manage by creating one role and define permission to it .
I want to find whether a user in a site has been granted permissions directly or he is inheriting permissions from a group. How can I do that using SharePoint object model?
I dont think there is a direct way to do this. One option is to get all the groups he is in and then see if this group belongs to a another group. If so then he is inheriting the permission from the group. Not a good solution though. :-)
I have a SharePoint site which contains a root site and site collection in it. Now there are some sites that inherits permissions from their parent site and some site has their own permission module. Now a user from owner group of root site browses site collection but there are few site which doesn't allow user to view the content of it.
Now what I want is general recommendation on when creating a new site in SharePoint what is best possible approach to set site permission.
In what case we can inherits permissions from parent site..?
In what case we can we us unique permission for a site..?
If a site has unique permission set then is it possible to creat a group at root level which has access to all site collection irrespective of site permission model?
I want a general recommendation based on above scenario.
Any help will be appriciable.
Thanks
Sachin
In many cases we can't inherit permission in all subsites/ lists. And if we are not inheriting it we can't create a new group which have same permission in all sites/lists. But we can overcome it with the following way.
Create some common permission group with deferent permission level. And create site with inheriting permission and remove user groups from new sites except the common group.
If a new user wants access in all sites/ list you can add this user in appropriate common group.