Skip to content

022 Global Settings of Component Builder

Amigo edited this page Jun 24, 2019 · 25 revisions

GLOBAL SETTINGS OF COMPONENT BUILDER

Options Button For Global Configurations

Concerning the Options area of Component Builder.00:00:19 Open 'Component Builder Dashboard': It's accessible through the 'Options' button. Only users with permission will be able to see this button 'Options', if they are in a different group than that global administrator the 'Options' button will not be visible.00:00:41 Those permissional structures can be changed as needed. Click on 'options' and this will open 'Component Builder configurations'. Here are some important switches. These areas(See video) could added to your own details if you would like to have it displayed in the components front-end. 00:01:13

Check In Timer

Build into Component Builder is the option 'Check in timer' to check-in items. Here can be checked if an item has been locked out for 5 hours, it brings it back in, 12 hours, 24 hours, every second day , once a week, or never. The check in timer is set here(see video). 00:01:47

Enable Version

The version can be disabled by simply clicking 'no', or enable it by 'yes'. The quantity of versions which needs to be kept of the item may be set. If '0' is set, all versions will be saved. It can be limited to prevent your system from being overloaded with data in the database. 00:02:17

Minify JS(JavaScript)

All the JS that have been built in Component Builder can be changed to be 'Minified'. 00:02:40 While in production, components can be exported without minifying the JS in the files and in the footers of the documents. If minification becomes necessary, simply click 'yes', that would minify JS, which is your JavaScript in the component while it's being complied. 00:03:07

Contributor Info

You can add more contributors here and they will show up in the dashboard underneath contributors.00:03:32

UiKit Settings

The UiKit settings is primarily for the back end , which at the moment is being implemented in certain areas. This is only needed most of the time in the front-end framework of the component. VDM has added it to Component Builder simply that if at some point it is decided to start adding a front end shop for the components that's being developed.00:04:00 That's part of front end distributing software that possibly will be designed eventually. You could install this and then run it. It is like a factory with a front end. That is still in planning. As there might be some security risks, users are advised to use the Component Builder offline. 00:04:35

Encryption Settings

Component Builder has a few places where it encrypts some of the data in the database. When Basic encryption is used the 'Basic Key' needs to be entered (See video). Once this key is entered, please ensure that you do not change it as this key locks the data and it is the only key that can unlock it.00:05:13 If this key is removed it cannot be unlocked.

NB. It may be removed to prevent unauthorized access to the data in those fields but then it must be saved in another place.

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Folder Paths

The next up is folder paths. 00:05:42 There are two folder paths that you already can make use of in the backup folder and the git folder path. Please read related notation here. Where as the custom folder path and the compiler folder path, I would suggest at this stage that you don't make any changes to them. I added these fields because I envisioned the possibility that we want to move these folders out of our web area of developing. 00:06:14 Since these are part of the security concerns we have, that these files and this folders might be targeted. I haven't fully implemented this all cross the compiler infrastructure. Currently it's best to leave that folders the way they are by not adding any data in here. 00:06:50

Permissions

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 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 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 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 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 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 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 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 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 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

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 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 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 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 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 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 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 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 That's a quick look at the global configuration options for component builder.

Clone this wiki locally