User control is hidden for Guest and Anonymous user in Enterprise portal in Dynamics AX - user-controls

I have created web menu item for user control (.aspx page) and assigned it new privilege that is assigned to role of Guest and Anonymous vendor. However, it doesnt not show user control and hides it by default. Please let me know how to detail page and user control public for all users

Try assigning your Managed web content to appropriate privilege.

Related

Display User Personal Bar

I've created a user role, which doesn't inherit permissions from Guest. I've achieved it through portal-ext.properties with permissions.check.guest.enabled=false param. But now, if I logged in with this new user role, I can't log out, since I can see the User Personal Bar (probably because of some permission settings). Any idea how to enable the User Personal Bar for my custom user role? I'm using Liferay 7.1 CE.

How to assign a business account to user in acumatica?

I am trying to assign an Business account to an user and not able to figure out how to do it.
I believe you are trying to customize Catalog form (SP700000) on Acumatica Portal site and getting Your user profile is not associated with any Business Account message.
Associated business account check is done in constructor of the InventoryLineMaint Graph linked to this page and if not found; exception is raised which is correct by design. And that’s the reason you are seeing this message.
To customize this screen using Acumatica Customization Browser, you should create an admin Portal user who is associated with business account.
Allow roles Customizer and Portal Admin for External User Type. You need to check Guest Role for these two in order to add here.
Step # 1
Login to ERP using admin credential, navigate to User Roles screen (SM201005), and check Guest Role for Customizer and Portal Admin roles in order to add them on EP202500.
Step # 2
Now navigate to User Types screen (EP202500), and select External User Type. Modify to allow roles Customizer and Portal Admin for External User Type.
Step # 3
Now create External user.
Navigate to Customers Screen (AR303000) and select ABARTENDE customer. Go to Contacts tab and open up existing Contact - Kabuk Fadi, Mr. (CR302000) Navigate to User Info tab and setup External user as below.
Step # 4
Now login to Portal site using this user. You should be able to customize page SP700000 via Acumatica Customization Browser.

Sitecore website: show/hide menu items based on logged in user role

I'm building a sitecore 7.2 using asp.net MVC 5.0. The site will have login and each user will be roles.
We need to show/hide the site menu items based on logged in user Roles. The user detail and roles are stored in SAP backend.
Could someone please advise what's the best way to achieve above?
Essentially you will want to map the roles stored in your backend system to Sitecore Roles. Potentially look into creating a custom Role Provider (see in document below)
Once logged in, requests are made to Sitecore are made in context of that logged in user. Therefore if the user, or their role, does not have permission to view an Item, it will not be returned in the request. This effect means that your Menu will not display items they do not have permission to access.
You and Content Editors can control what users and roles can access via the Security Editor and view their access rights via the Access Viewer in the Content Editor.
This documents will have everything you need - http://sdn.sitecore.net/upload/sitecore6/sc61keywords/security_api_cookbook_usletter.pdf
http://sdn.sitecore.net/upload/sitecore6/securityadministratorscookbook-usletter.pdf
Its also worth noting that Sitecore's seucirty manages roles as Ors. So if one of the user's role has permission to see an Item, then the user can see it.
If you require the roles to be Ands; every role must have permission before its displayed to the user, check this post out - http://www.sitecore.net/learn/blogs/technical-blogs/john-west-sitecore-blog/posts/2015/03/require-membership-in-multiple-roles-in-the-sitecore-aspnet-cms.aspx
You need the roles for the current user from SAP? There is an Odata API for that: http://help.sap.com/saphelp_nw73ehp1/helpdata/en/4c/5bde6197817511e10000000a42189b/content.htm
You could query the API in real-time, but it would of course require a login to SAP for the current user.
Or - you could use another API and connect via a service user.

Liferay 6.2 portlet custom roles

I have created a custom Regular Role and I have inserted it inside portlet.xml of so-portlet(security-role-ref element) and I have also mapped it with the respective role in liferay-portlet.xml.
However, when a user owns only this custom Regular Role, an error message is displayed "You do not have the roles required to access this portlet".
It is also strange that this happens only in user's personal site, on any other site user is able to view the specific portlet.
Does anyone has any idea about this?
Since you have a Custom Regular Role for your App, you should edit the default Role Permissions
log as an admin
Go to Control Panel, Roles,
Find your Role, and from the Actions menu on the right side, pick Define Permissions
From the left menu, find your application
Edit your permissions. Make sure to have the 'View' action granted for your Role. You can additionally, allow it for all sites (default), or you can just select the 'User Personal Site'
Now, if you want to make an exception for a specific portlet instance (that's what I meant in my question, in the comments) you can:
Log as Admin
Navigate to the specific Page where your portlet instance is added.
Enable Edit Controls, and edit your portlet (mini menu on the upper right side, with the wrench icon)
Pick permissions and have your Role allowed to view the portlet
The Personal Site is a Private Site if I remember well, so i think your user is not a site member, necessary condition to view the private pages.

Liferay 6.2. social office user bar and dockbar

In users' personal sites pages(/user/xx/so/dashboard), user bar and dockbar are not accessible from any user without the power user or administrator role. In every other site's page, users can normally access it without these 2 roles.
Why is this happening?
This issue was resolved by creating a hook that assigns automatically the Power User role on every newly created user.
A Liferay staff member told me that Power User role is required for all social office plugins, sites etc. liferay post

Resources