I am using Liferay and I have created 3 user groups. My application is like ,the user will be able to switch user groups in the UI using a drop down. When I login for a specific user group the pages are visible according to user group.
But when I switch user groups, the pages do not change according to user groups. Logs show that the change in user group is detected. The same was working in liferay 5. Please suggest what has to be done.
Thanks in advance
Related
I'm testing Pimcore right now, to see if it's a good fit for our company.
I was wondering if there is a way to give a user specific rights, like an author only being able to make content and edit his own content?
Yes you can provide user or role based permission to documents, assets or objects. Click here to see the screenshot of the user screen
Steps are as follows -
Go to settings -> User
Click on the specific user on which you want add some permissions.
On the right screen part go to the workflow tab.
Click on the add button present near Document title if you want to add permissions on documents. Same can be done on Assets and on Objects
Drag and drop documents on which you want to allow permissions.
Check the boxes if you want to allow user to publish, unpublish, delete etc.
Save
Same can be done on roles as well. If you want same set of permissions on couple of users then you can make a specific role, assign the desired permissions and then assign that role to multiple users.
I'm working out a base requirements for a new kentico build. We want to limit content, either at the page or web part level by user group. What do I need to do to ensure search results only return what a user in a specific group is meant to see.
So three pages, page 2 is restricted to a group 1. Users from group 2 shouldn't see page 2 show up in a search result.
you can instruct the search web part to check the permissions of the results. Select Check permissions.
It will now check each user/role against your permission settings on each page.
see: https://docs.kentico.com/display/K9/Searching+according+to+page+permissions
I have a requirement that each user has a different set of portlets that he can see and manage based on his role.
I was initially thinking to model User Pages since I want each user to drag and drop the portlet around and set preferences. But then I realized I cannot have a single user home page and disable portlets based on role since all the portlets on a user page have view permission for "Owner"
Is something like this possible with Community home page. Can I configure a community home page with portlet which has role based permission. Every user will also have an option to drag around or add those portlets on the page and set permissions. I doubt I can give common access to all the user add portlet permission on the community page, since the page will be loaded with portlets.
In that case can I use the first approach and have flexibility to show set of portlets on user home page (private page) based on certain role and not have "Owner Role" interfere.
Please, can you give me your opinion about this issue?
I've done an Autologin which is authenticating the username and password against my legacy system.
Once I've verified the user, I have two choices:
Add the user (if it does not exist) to Liferay ( and assign groups )
or
Map the verified user against 3 or 4 liferay users.
If my database is about 10.000 users, but I only have 3 or 4 roles, I thought the second choice would be better, but, what happens then with the welcome message once the user is logged with the liferay user credentials?
Ivan,
You need to create all the users in liferay because while login either we use the screenName or emailAdress(which must be unique and exsits in DB) ,also before login we can't check what role is assigned to user and we can't fetch the user of same role from the liferay(probably it will effect the security measures of liferay).About the welcome message it's managed by theme (velocity template) which use the name of current loggeIn user,it can't be managed, so we can't show different name with the same user login on the basis of role.
Thanks
I am editing user security and am trying to give a user access to an e.List item. I select the user using the [...] button and successfully find that user by searching in our AD domain.
After I select the user and press OK, that user does not come into the CAC, just this error The filter will only accept groups and roles. Users will not be added to the filter. I don't see any filters here at all.
Have you seen this before and is it possible to set up security by users?
Thank you,
WE
Answer from ericlfg on http://www.cognoise.com/community/index.php/board,15.0.html:
Hi William,
The message you are receiving is by design. In order to add a specific user, rather than a group or role, that use needs to be a member of some kind of hierarchy in your security provider.
Ex: If you're using cognos groups and roles with a Role called "Test". You would populate this test role with members from your namespace. In the CAC, you would then select the Test group when you click on the elipsis and then that will allow you to select your individual user (or alternatively the Test role).
The same would be true if you're trying to add members directly from your 3rd party authentication provider. The individual users need to be part of a roll-up role or group in order to add that roll-up role or group to the filter. Once added to the filter you can select the individual users.
Hope this helps.