Administration Area - D4uS1/ez-on-rails GitHub Wiki
Administration Area
Ez-on-rails provides an administration area where you can view all the data of your application and manage the registered users.
Just wisit the base url of the backend system to get into the administration area. You will be able to sign in here (you can use the credentials generated in the seeds, dont forget to change them before going productive!). After you signed in you will see a navigation bar with the models of your application as menu entries (and of course custom entries, if you created them).
On the right side of the navigation bar you can see the Administration menu entry. This provides some basic functionality for you to administrate the registered users and some other functionalities.
In the following sections, the main navigation and management views of the models and the administration area will be described.
Main Navigation and model Views
As described in the navigation documentation you are able to customize your menu for your personal needs. But if you created scaffolds using the ezscaff generator you are able to use the eznav generator to automaticly create menu entries to manage your scaffolds.
Note that the menu entries are filtered if you do not have access to the actions.
Your scaffolds will be the main menu entries if they are not located in namespaces. If they are located in namespaces, the namespace will be the main menu entry and the sub menu entries will link to the scaffolds.
If you go to one of those links, you will see the table of all the scaffold records that are available in your application.
If you expand the search on the top of the page, you will see a search form that enables you to filter your records.
Each table entry enables you to show, edit or destroy the record. The icons on the right of the table rows redirect you to those actions.
Everything you see here in every action is rendered using the information provided by the render info.
Think about the scaffold views like visualized restful actions. You can navigate through them like you would ask for them on api requests.
Administration Area
If you are signed in as super administrator, you will see an Administration entry on the right side of the main navigation. If you expand the menu, you have three links here:
- admin dashboard - A small dashboard with tiles that also link to the user management and broom closed dashboards
- user management dashboard - A small dashboard with the ability to manage the registered users
- broom closet dashboard - A small dashboard with functionality to cleanup the system
The user management area enables you to manage your users, groups and accesses. Everything that is going on in the applications permission system can be changed here. You also can create / edit or destroy users and reset their passwords.
The broom closet area provides some cleanup functions, since the system is not delivered with a job as default. From here you can eg. delete unattached files of async storage uploads that were not submitted etc.