Fetch item from Sitecore
When logged in, fetching the item, will display the item details. Open another tab and log out, then press the fetch
button again in this tab. You will notice how the page will refresh and redirect to the Sitecore login page. This
is is the SciAuthHttp
module kicking in.
The fetch button will be disabled during the process of the request.
Click the edit button to open the item in the Context area and modify its fields.
{{ key }}
{{ response[key] }}
Applying Sitecore security rights on UI components
In Sitecore, the Security Editor can be used to restrict access permissions to users or roles. The SciAuthModule
can read these access settings so that they can be used in Angular.
Some information (text) in this section, has been hidden to users in the Developer role, as they don't have read access to it. There are also two form fields where the Developer users don't have write permission, which means the two fields are disabled. Try logining in with a developer user and an admin user and compare the two pages.
Trust me, I am not a developer.
The form below contains two fields that are disabled for developer users, as they don't have write permissions.