- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2016 09:34 AM
Hello All ,
We had a requirement to remove language selection option from user preference setting present on the home page for all users except for admins. Do I need to modify any properties or how it can be filtered based on roles. Please let me know your suggestion on this.
Thanks in Advance ,
Adarsh S
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-28-2016 12:02 AM
Hi,
To achieved your goal I guess you'll have to change the ui_language_select UI Marcro and put an Jelly evaluation to get current user role and test on User role to display it only of the user has some specific role.
This thread could be interresting for you : Disable Language Picker in UI16
Regards.
Jeremie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2016 10:20 AM
Hi Adarsh,
There is a system property in UI properties for not showing the language selection option but that is not hiding this box. So your best bet might be to add an ACL for the language column under user table with role required to be an admin for read/write operation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2016 11:41 PM
Hello Venkat ,
The requirement is users should change their language from their user profile through ESS page and not from this Nav page.. I think ACL could not be applied in this case.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2016 11:50 PM
Hi Adarsh,
You can still employ a read ACL with no roles associated, and in the script have it return 'answer=false;' if the view is not ESS.
Thanks,
-Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-28-2016 12:02 AM
Hi,
To achieved your goal I guess you'll have to change the ui_language_select UI Marcro and put an Jelly evaluation to get current user role and test on User role to display it only of the user has some specific role.
This thread could be interresting for you : Disable Language Picker in UI16
Regards.
Jeremie