Databases Reference
In-Depth Information
Time for action - adding permissions
Now we will see how to provide permissions for the available resources:
1.
Double-click on the
jazn-data.xml
file from the
META-INF
folder in
Applicaion
Resources
|
Descriptors
.
2.
Go to the
Resource Grants
secion in the
jazn-data.xml
file. Set the
Source
Project
value to
ViewController
.
3.
From the
Resource Type
list, select the
Web Page
opion.
4.
When you select the
Web Page
opion, you will see that all the page resources for
the applicaion are listed below.
5.
Now we will have to give permission for our
index
page so that we can see the
page instead of geing the
401 --Unauthorized
error after login.
6.
Select the
index
page from the
Resources
list and then click on the
+
icon from
the
Granted To
secion. We are going to grant permission for the
index
page to
anonymous role as shown in the following screenshot:
Search WWH ::
Custom Search