Full transcript
0:01Now we'll see how to do this project
0:04called script control ACL restrict
0:07record access based on field.
0:10So first milestone creation of users and
0:14roles
0:17service developer instance open
0:22users search
0:25users search system security. Okay.
0:28System users simple the users select
0:38user ID user
0:42user
0:44user name
0:47right the new button.
1:01Okay. First namely,
1:04last name user. Okay.
1:09Email address
1:12ofgmail.com
1:14usergmail.com.
1:16Save the record. Simple left. Additional
1:20actions. on the additional action
1:22button. Click save. So we are done with
1:25the user creation.
1:30Second role creation. How to create a
1:33role.
1:35Simple
1:50application navigator
1:52application navigator. Search for the
1:55roles.
1:58Search for the roles.
2:03system.
2:09Enter the name as BB1. Enter the role
2:12name as BB1 right new button.
2:20B31
2:24simpler
2:26submit button
2:28again click on new button
2:33then
2:35create
2:36EB2
2:39on submit
2:46click on new
2:49BP3
2:52submit
2:56and again click on new
3:02BP4 done. We are done creating four
3:06roles.
3:08Roles creation was done. Assign all the
3:10roles to the triply user. Okay. So
3:14application navigator
3:17search for the users
3:20search for the users.
3:32Okay.
3:35Open
3:55search
3:572.
4:01I mean
4:10simple
4:12update. So we are done with the
4:16milestone one. Now we'll see how to
4:19create this particular tables creation.
4:21Now we'll see how to create this
4:23particular tables creation.
4:29So go to application navigator and then
4:32search for the tables.
4:35Table search system
4:45right
4:50new button
4:53table name in
4:56sorry institution details.
5:00Okay.
5:23Fields creation. Fields creation.
5:27Scroll down.
5:31Okay. So, studently
5:44wait for some kindly wait. Sorry. Kindly
5:48save this one first.
5:54Insert.
5:55>> [clears throat]
5:55>> Insert a new row. Simple. Double tap.
5:59Double tap.
6:01F.
6:03Simple.
6:05Okay. Type in simple.
6:08Take it string. Okay. Again. Click on
6:12insert a new row.
6:15Student name. Student name. Copy.
6:19Paste.
6:21Done. Okay.
6:24data type reference. Okay. Reference
6:28reference
6:32user
6:38faculty
6:40name
6:47reference
6:49take data type as reference. Okay.
6:52reference sis
6:56user
6:59simple okay
7:02branch
7:05data type double click new branch
7:11choice data type branch choice data type
7:16what next email okay
7:19copy this email and give it here email.
7:23Email
7:25email
7:27string and then save it.
7:33Phone number
7:48description. Okay. Description.
7:53Double tap give description and oh sorry
7:56double tap give description save this
7:59and then give string.
8:03So we are done with the fields creation.
8:05We are done with the fields creation.
8:07Now we'll see how to add the choices.
8:10For that additional actions first
8:31after saving the formated
8:35links
8:38form
8:42So
8:45how to add
8:48choices to the branch in the right side
8:52configure choices in the configure
8:54choices.
8:56So configure choices click on the
9:00EC.
9:01Okay. So search for ECE and then click
9:06on add and then
9:08triple E and then click on add and then
9:12CSC and then click on add. Simply save
9:15this one. Simply save this one. Now you
9:18can check fields like all choices are
9:22created for the branch field. So we are
9:24done with the table creation and their
9:27fields creation.
9:29Now we'll give some records here. So for
9:33that u
9:38what is our table name
9:43institution
9:45details simpler here application
9:48navigator simp give this one dot
9:54list search.
9:58Okay.
10:01Click on new. Click on new and then give
10:06student
10:07100.
10:09Student name randomly select one.
10:13Faculty name randomly select one branch
10:17easy. Okay.
10:19Done.
10:24Simple
10:26submit.
10:30Okay. So again click on new
10:33department. Okay. So it was
10:37200
10:39student name
10:43for reference
10:46branch.
10:47Okay. Submit
10:50button.
10:55student 300.
10:58Okay.
11:01And I'll select one
11:03and
11:05easy simple select.
11:18Done. We are done with the records.
11:22Next
11:25creating
11:28creation of access control list for that
11:31for that the right side user
11:43security
11:49update. on
11:59right side
12:01application.
12:02Search for the access
12:05controls.
12:10Access
12:20the following details. First operation
12:23read operation. First operation read
12:25operations. Simple operation create
12:30type for read. Type for read
12:35in the name. Search for the table called
12:37U details and then select this
12:40particular U institution details. Okay.
12:44So in the role add the role called BB1.
12:50Add the role called BB1. Okay.
12:58The required roles related is done. Add
13:00the condition is branch is triple. The
13:03data condition
13:07branch is
13:10done. We are done with this. So where I
13:12need to paste this script? Where I need
13:15to paste this script.
13:27scripting
13:28section
13:32save
13:35continue. So we are done with creating
13:38one read ACL.
13:40We are done with creating one read ACL.
13:43Now we'll see how to create the
13:46remaining ACL as well. So for that
13:56we done this all these things.
14:00So if I
14:04we'll create the we are done with create
14:07uh read ACL. Now we'll see how to do the
14:09create ACL and then
14:15write ACL the last
14:20delete ACL. Done. Now we'll see how to
14:24do the
14:26right ACL.
14:28Not right.
14:32Next we'll see how to create the create
14:35ACL. for that.
14:46Simple create.
14:54Okay. Click
15:00the name.
15:02Select this U
15:04institute table. Okay. Select U
15:08institute table.
15:10So Uh
15:13in the institute table select P. Okay.
15:16So if
15:20simply add the role you don't need to
15:21add remaining all these things. Simply
15:24add the BB2. Double B2.
15:32Okay.
15:34submit button. Click one. We are done
15:37with the create.
15:41Now we'll see the right. Okay. Now we'll
15:44see the right. So for that in the right
15:50new button
15:59right operation select name
16:06institution detail select
16:10the role B
16:12select
16:15simple
16:16Save. Submit it.
16:31Continue.
16:33So
16:35simple. Again click on new. Then we'll
16:38go for the last ACL. Delete ACL. Okay.
16:41So for that right
16:46delete search delete search
16:51operation simple name
16:56institution detail select
17:06per simp
17:10we are done with the ACL. We are done
17:13with the four ACL
17:17like like what are those four ACL read
17:21create write and delete ACL. Okay. So
17:25out we will check the outcome of the
17:28ACL. So for that for that
17:38user select
17:40okay user select next next next
17:54institution details
17:57copy simple the
18:01application navigator. Now simply give
18:04this one and then click on enter. You
18:06can see you can see
18:10the branch like you know uh this
18:12particular ACL is working properly. That
18:14is the reason why it is showing the
18:16record here. Branch is triply. Okay.
18:20Only the triply branch is showing. Okay.
18:24So the thing is this particular project
18:26is working properly.
18:28So thank you.