diff --git a/022-Global-Settings-of-Component-Builder.md b/022-Global-Settings-of-Component-Builder.md index b5fcdba..297449b 100644 --- a/022-Global-Settings-of-Component-Builder.md +++ b/022-Global-Settings-of-Component-Builder.md @@ -39,5 +39,13 @@ The next up is folder paths. [00:05:42](https://www.youtube.com/watch?v=LA2WDi8G Next up we can look at the permissions. Now the permissional structure in component builder is not that intense, but as you can see there are a lot of permission switches. With the latest Joomla release of Joomla 3.5, this permissional structure updating construct is made much easier. In the past we had a problem were the data set of your permissions is to big, that when you save it, it just freezes up your browser and even the server doesn't want to receive the data set it's to big. [00:07:26](https://www.youtube.com/watch?v=LA2WDi8G79E&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h07m26s) Now they have added ajax per field. Which makes this so much easier. That means that currently without clicking save and close, you can make changes to the permissional structure and immediately will be stored to the data base. That's from version 3.5 Joomla. We still have these areas(Global UiKit Settings, Encryption Settings, Folder Paths) that we also want to store. So what I have thought might work, [00:07:58](https://www.youtube.com/watch?v=LA2WDi8G79E&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h07m58s) possibly my implementation isn't that accurate, but you have here configurations only as a permission. I would say take a certain group, give them that configuration only access, and then log out of this user, login to a user that is in that group. Then this permissional tab won't show. [00:08:26](https://www.youtube.com/watch?v=LA2WDi8G79E&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h08m26s) They will only see these(Global UiKit Settings, Encryption Settings, Folder Paths) settings which are in these tabs. They can make changes to these and save them without any browser latency or overload. Where as you can come in and you can just tweak the permissions when you are in the global or super administrator build. So you can come in here and you can tweak the permissions accordingly. So as you saw previously, when I was here in the manager area, I could just change this and it does a ajax storing of the value in the database. [00:09:02](https://www.youtube.com/watch?v=LA2WDi8G79E&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h09m02s) Which is really smart. I am very grateful that they've done that search for the main reason that this set of the permissions became so huge, that I had in some places had to do server adjustments on some of my components to ensure that the user could still save and change the permissions. You have your global create, delete, edit, edit state, edit own, edit created by, and edit created date. [00:09:39](https://www.youtube.com/watch?v=LA2WDi8G79E&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h09m39s) Then you get the per view permission structure. Here is the admin view then the custom admin view, the dynamic get, and they all have their own different areas that you can change permissions for groups to be able to do this or that. ### Example Preacher Permissions -??? -The same permission implementation options and [00:10:05](https://www.youtube.com/watch?v=LA2WDi8G79E&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h10m05s) structures are available to all components build by component builder. As you trip the switches for the fields as well as for your certain views. First we look at components, [00:10:30](https://www.youtube.com/watch?v=LA2WDi8G79E&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h10m30s) sermon distributor, in the admin views you have here this access control. But this is not the only place of implementation save and close If you go to the admin views And let's say we open Preacher [00:11:28](https://www.youtube.com/watch?v=LA2WDi8G79E&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h11m28s) You have the permissional structure here Edit Now if select view is gonna use the view name if you select core you will fall back on the core edit And Delete Features corresponding So if you use the word View View dot edit you will see in the permissional structure and edit [00:11:51](https://www.youtube.com/watch?v=LA2WDi8G79E&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h11m51s) Switch with this views name preacher dot edit Where as you use the word Core dot edit that you would only see Edit or delete or create whatever Select And this in relation to its record means that it will be added To the record itself you can tweak the edit structure This is only the global setting or this is for both And so that is party how you control some of the permissional switches we just looked at The other area is in fields itself [00:12:25](https://www.youtube.com/watch?v=LA2WDi8G79E&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h12m25s) You have your a permissional structure Where you can say ok this specific field let say the preacher name I wanna control that permission who can edit it Is what you would add who Edit button Currently we are not yet implementing who can View Since we were having problems with Tremendous overload of Switches being added to the permissional structure Joomla now made this change we might possibly add that in [00:12:58](https://www.youtube.com/watch?v=LA2WDi8G79E&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h12m58s) Then you can't even have a View who can view that That field Where is this is currently just who can edit it Ok So this is how you get a Fields permissional switch Now Let me give you this is an example Let's make that one for now Name [00:13:23](https://www.youtube.com/watch?v=LA2WDi8G79E&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h13m23s) Say that it must be permission Save and close Save and close Here I have sermon distributer open so I will open it's options Go to his permissional tab Then scroll down And I see first here is the help documents And here's preacher And preacher has side access and an access to preacher itself And batch create [00:13:49](https://www.youtube.com/watch?v=LA2WDi8G79E&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h13m49s) Dashboard add dashboard list delete edit edit created by edit created date Edit own edit State edit version Export import submenu and then it starts with series So as you can see it doesn't show name here yet So what we'll do is now will go back to component builder go to compiler And we will select sermon distributor And compile it Wanted completed I'll just click on the install button here To do a quick install [00:14:27](https://www.youtube.com/watch?v=LA2WDi8G79E&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h14m27s) Now that that is completed let's go back to the configuration and just refresh The page I'll just click on the refresh here at the top Now if we scroll down again it we'll get here we said See it got a new field here called preacher edit name and how I can decide Can this group edit that name or is it denied or should it be inherited So the permission or structure per field can be added in this way I'm gonna go back and revert that Because I actually don't want I don't want that area to be monitored So go back [00:15:07](https://www.youtube.com/watch?v=LA2WDi8G79E&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h15m07s) Open preacher Back to the Fields Say no Close compiler Select sermon distributer compiling it Then installing it Going back refresh And we see that the field is gone So it's no longer being controlled by this permission [00:15:41](https://www.youtube.com/watch?v=LA2WDi8G79E&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h15m41s) Infrastructure And so that is how you can Tell which Group is able to access which fields And even a which Views are accessible Through the permissional of structures This is an amazing advantage of component builder in its ability to integrate the Permissions not only per view But also [00:16:07](https://www.youtube.com/watch?v=LA2WDi8G79E&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h16m07s) Per Field in a view And your normal control also related to a specific view and not only that it Also adds these permissions to every item So you could override an item And say ok this item I don't want that group to actually access this field And this is one of the advantages that component Builder Has above other Similar applications out there It's it's ability to implement some of the most advanced concepts that are currently accessed [00:16:50](https://www.youtube.com/watch?v=LA2WDi8G79E&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h16m50s) Ok so that's a quick look at the Global configuration options for component Builder Thank you for watching + +The same permission implementation options and [00:10:05](https://www.youtube.com/watch?v=LA2WDi8G79E&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h10m05s) structures are available to all components build by component builder, as you trip the switches for the fields as well as for your certain views. First we look at components, [00:10:30](https://www.youtube.com/watch?v=LA2WDi8G79E&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h10m30s) sermon distributor, in the admin views you have access control. This is not the only place of implementation. If you go to the admin views, and let's say we open preacher, [00:11:28](https://www.youtube.com/watch?v=LA2WDi8G79E&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h11m28s) you have the permissional structure for edit. Now if select view, it is going to use the view name. If you select core, you will fall back on the core edit and delete features corresponding. So if you use the word view.edit you will see in the permissional structure an edit [00:11:51](https://www.youtube.com/watch?v=LA2WDi8G79E&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h11m51s) switch with this views name preacher.edit. Where as you use the word core.edit you would only see edit or delete or create whatever one of these you will select. This in relation to its record means that it will be added to the record itself. You can tweak the edit structure. This is only the global setting or this is for both. That is party how you control some of the permissional switches we just looked at. The other area is in fields itself. [00:12:25](https://www.youtube.com/watch?v=LA2WDi8G79E&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h12m25s) + +### Field Permission Switch + +You have here a permissional structure, where you can say this specific field, let say the preacher name, I want to control that permission 'who can edit it?'. Is what you would add a 'who edit?' button. Currently we are not yet implementing 'who can view?'. Since we were having problems with a tremendous overload of switches being added to the permissional structure. Since Joomla now has made this change we might possibly add that in. [00:12:58](https://www.youtube.com/watch?v=LA2WDi8G79E&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h12m58s) Then you can even have a view, 'who can view that field?'. Where as this is currently just who can edit it. This is how you get the fields permissional switch. + +* ### Example See Video + +Let me give you this as an example. Let's make that one for now. Name, [00:13:23](https://www.youtube.com/watch?v=LA2WDi8G79E&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h13m23s) say that it must be permission, save and close. Here I have sermon distributor open. I will open it's options. Go to the permissional tab. Then scroll down. I see first here is the help documents. And here's preacher. Preacher has site access and access to preacher itself, and batch, create, [00:13:49](https://www.youtube.com/watch?v=LA2WDi8G79E&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h13m49s) dashboard add, dashboard list, delete, edit, edit created by, edit created date, edit own, edit state, edit version, export, import, submenu, and then it starts with series. So as you can see it doesn't show name here yet. What we'll do is now will go back to component builder, go to compiler, and we will select sermon distributor, and compile it. Once it's completed I'll just click on the install button to do a quick install. [00:14:27](https://www.youtube.com/watch?v=LA2WDi8G79E&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h14m27s) Now that is completed let's go back to the configuration and just refresh the page. I'll just click on the refresh here at the top. Now if we scroll down again it we'll get here(preacher edit name) we set, you will see it got a new field called preacher edit name. Now I can decide, can this group edit that name or is it denied or should it be inherited? So the permissional structure per field can be added in this way. I'm going to go back and revert that because I don't want that area to be monitored. Go back [00:15:07](https://www.youtube.com/watch?v=LA2WDi8G79E&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h15m07s) open preacher. Back to the fields. Say no. Save and close. Compiler. Select sermon distributor, compiling it. Then installing it. Going back refresh. And we will see that the field is gone. So it's no longer being controlled by the permission [00:15:41](https://www.youtube.com/watch?v=LA2WDi8G79E&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h15m41s) infrastructure. That is how you can tell which group is able to access which fields. Even in which views are accessible through the permissional structures. This is an amazing advantage of component builder in its ability to integrate the permissions, not only per view, but also [00:16:07](https://www.youtube.com/watch?v=LA2WDi8G79E&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h16m07s) per field in a view. Your normal control also related to a specific view. Not only that, it also adds these permissions to every item. So you could override an item, and say ok this item I don't want that group to actually access this field. This is one of the advantages that component builder has above other similar applications out there. Its ability to implement some of the most advanced concepts that are currently accessed or available at Joomla. [00:16:50](https://www.youtube.com/watch?v=LA2WDi8G79E&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h16m50s) That's a quick look at the global configuration options for component builder.