Note
The “staff” flag, which controls whether the user is allowed to log in to the admin interface, can be set by the admin panel itself.
The panel can be reached from :guilabel:`Admin` link of the User Menu in the navigation bar (see the picture below) or through this URL: http://<your_geonode_host>/admin
.
When clicking on that link the Django-based Admin Interface page opens and shows you all the Django models registered in GeoNode.
From the Admin Interface you can access the :guilabel:`Change password` link by clicking on the username on the right side of the navigation bar. which will open a dropdown.
It allows you to access the Change Password Form through which you can change your password.
Once the fields have been filled out, click on :guilabel:`Change my password` to perform the change.
GeoNode provides by default some theming options manageable directly from the Administration panel. Most of the times those options allows you to easily change the GeoNode look and feel without touching a single line of HTML or CSS.
As an administrator go to http://<your_geonode_host>/admin/geonode_themes/geonodethemecustomization/
.
The panel shows all the available GeoNode themes, if any, and allows you to create new ones.
Warning
Only one theme at a time can be activated (aka enabled). By disabling or deleting all the available themes, GeoNode will turn the gui back to the default one.
Editing or creating a new Theme, will actually allow you to customize several properties.
At least you'll need to provide a Name
for the Theme. Optionally you can specify also a Description
, which will allow you to better
identify the type of Theme you created.
Just below the Description
field, you will find the Enabled
checkbox, allowing you to toggle the Theme.
Note
Remember, everytime you want to apply some changes to the Theme, you must save the Theme and reload the GeoNode browser tab.
In order to quickly switch back to the Home page, you can just click the VIEW SITE
link on the top-right corner of the Admin dashboard.
The next section, allows you to define the first important Theme properties. This part involves the GeoNode main page sections.
By changing those properties as shown above, you will easily change your default home page from this
to this
It is possible to optionally hide the Jumbotron text
.
To switch between a slide show and a jumbotron, flip the value of the welcome theme from "slide show" to "jumbotron" and vice versa to either display a jumbotron with content or a slide show in the home page
For example, to display a slide show, change the welcome theme from jumbotron background
to slide show
Before creating a slide show, make sure you have slides to select from (in the multi-select widget) to make up the slide show.
If no slides exist, click the plus (+) button beside the slide show multi-select widget to add a new slide.
Fill in the slide name, slide content using markdown formatting, and upload a slide image (the image that will be displayed when the slide is in view).
For slide images that already contain text, hide slide content by checking the checkbox labeled "Hide text in the jumbotron slide" as shown below, then save the slide.
It is also possible to hide a slide from all slide show themes that use it by unchecking the checkbox labeled "Is enabled" as shown below.
Selecting the above slide in a slide show and enabling slide show (using the "welcome theme" configuration) will create a slide show with a slide as shown below:
In the case you have defined more Themes, switching between them is as easy as enabling
one and disabling
the others.
Remember to save the Themes everytime and refresh the GeoNode home page on the browser to see the changes.
It is also important that there is only one Theme enabled at a time.
In order to go back to the standard GeoNode behavior, just disable or delete all the available Themes.
In GeoNode, administrators can manage other users. For example, they can Add New Users through the following form.
The form above can be reached from the Admin Panel at the following path: Home > People > Users. Click on :guilabel:`+ Add user` to open the form page.
It is also available, in the GeoNode UI, the :guilabel:`Add User` link of the About menu in the navigation bar.
To perform the user creation fill out the required fields (username and password) and click on :guilabel:`Save`. You will be redirected to the User Details Page which allows to insert further information about the user.
The user will be visible into the Users List Page of the Admin Panel and in the People Page (see :ref:`user-info`).
When created, new users are active by default. You can check that in the User Details Page from the Admin Panel (see the picture below).
GeoNode administrators can also change/reset the password for those users who forget it.
As shown in the picture below, click on this form
link from the User Details Page to access the Change Password Form.
The Change User Password Form should looks like the following one. Insert the new password two times and click on :guilabel:`CHANGE PASSWORD`.
Active users have not access to admin tools. GeoNode makes available those tools only to Staff Members who have the needed permissions. Superusers are staff members with full access to admin tools (all permissions are assigned to them).
Administrators can promote a user to Staff Member by ticking the Staff status checkbox in the User Details Page. To make some user a Superuser, the Superuser status checkbox should be ticked. See the picture below.
The :guilabel:`Create Groups` link of About menu in the navigation bar allows administrators to reach the Group Creation Page.
The following form will open.
Fill out all the required fields and click :guilabel:`Create` to create the group. The Group Details Page will open.
The new created group will be searchable in the Groups List Page.
Note
The :guilabel:`Create a New Group` button on the Groups List Page allows to reach the Group Creation Form.
As you can see, GeoNode provides two types of groups. You will learn more about that in the next paragraph.
In GeoNode users can be grouped through a Group Profile, an enhanced Django group which can be enriched with some further information such as a description, a logo, an email address, some keywords, etc. It also possible to define some Group Categories based on which those group profiles can be divided and filtered.
A new Group Profile can be created as follow:
click on the Group Profile :guilabel:`+ Add` button
fill out all the required fields (see the picture below), Group Profiles can be explicitly related to group categories
click on :guilabel:`Save` to perform the creation, the new created group profile will be visible in the Group Profiles List
Group Profiles can also be related to Group Categories which represents common topics between groups. In order to add a new Group Category follow these steps:
click on the Group Categories :guilabel:`+ Add group category` button
fill out the creation form (type name and description)
click on :guilabel:`Save` to perform the creation, the new created category will be visible in the Group Categories List
Through the :guilabel:`Groups` link of About menu in the navigation bar, administrators can reach the Groups List Page.
In that page all the GeoNode Group Profiles are listed.
For each group some summary information (such as the title, the description, the number of members and managers) are displayed near the Group Logo.
Administrators can manage a group from the Group Profile Details Page which is reachable by clicking on the title of the group.
As shown in the picture above, all information about the group are available on that page:
- the group Title;
- the Last Editing Date which shows a timestamp corresponding to the last editing of the group properties;
- the Keywords associated with the group;
- Permissions on the group (Public, Public(invite-only), Private);
- Members who join the group;
- Managers who manage the group.
There are also four links:
The :guilabel:`Edit Group Details` link opens the Group Profile Form through which the following properties can be changed:
- Title.
- Logo (see next paragraphs).
- Description.
- Email, to contact one or all group members.
- Keywords, a comma-separated list of keywords.
- Access, which regulates permissions:
- Public: any registered user can view and join a public group.
- Public (invite-only): only invited users can join, any registered user can view the group.
- Private: only invited users can join the group, registered users cannot see any details about the group, including membership.
- Categories, the group categories the group belongs to.
:guilabel:`Manage Group Members` (see next paragraphs).
the :guilabel:`Delete this Group`, click on it to delete the Group Profile. GeoNode requires you to confirm this action.
the :guilabel:`Group Activities` drives you to the Group Activities Page where you can see all datasets, maps and documents associated with the group. There is also a Comments tab which shows comments on those resources.
Each group represents something in common between its members. So each group should have a Logo which graphically represents the idea that identify the group.
On the Group Profile Form page you can insert a logo from your disk by click on :guilabel:`Browse...`.
The :guilabel:`Manage Group Members` link opens the Group Members Page which shows Group Members and Group Managers. Managers can edit group details, can delete the group, can see the group activities and can manage memberships. Other Members can only see the group activities.
The following picture shows you the results.
If you want to change the role of group members after adding them, you can use the "promote" button to make a member into a manager, and the "demote" button to make a manager into a regular member.
By default GeoNode is configured to make every resource suddenly available to everyone, i.e. publicly accessible even from anonymous/non-logged in users.
It is actually possible to change few configuration settings in order to allow GeoNode to enable an advanced publication workflow.
With the advanced workflow enabled, your resources won't be automatically published (i.e. made visible and accessible for all, contributors or simple users).
For now, your item is only visible by yourself, the manager of the group to which the resource is linked (this information is filled in the metadata), the members of this group, and the GeoNode Administrators.
Before being published, the resource will follow a two-stage review process, which is described below:
You have to tweak the GeoNode settings accordingly.
Please see the details of the following GeoNode Settings
:
Summarizing, when all the options above of the Advanced Workflow are enabled, upon a new upload we will have:
- The "unpublished" resources will be hidden to anonymous users only. The registered users will be still able to access the resources (if they have the rights to do that, of course).
- The "unpublished" resources will remain hidden to users if the permission (see Admin Guide section: 'Manage Permissions') will be explicitly removed
- During the upload, whenever the advanced workflow is enabled, the owner's Groups are automatically allowed to access the resource, even if the "anonymous" flag has been disabled. Those permissions can be removed later on
- During the upload, "managers" of the owner's Groups associated to the resource, are always allowed to edit the resource, the same as they are admin for that resource
- "managers" of the owner's Groups associated to the resource are allowed to "publish" also the resources, not only to "approve" them
After switching ADMIN_MODERATE_UPLOADS
to True and resource is approved owner is no longer able
to modify it. He will see new button on the resource detail page: Request change. After clicking this, view with short
form is shown.
On this view user can write short message why he want to modify the resource.
This message will be sent through messaging and email system to administrators:
After administrator unapprove the resource owner is again able to modify it.
Here, the role of the Manager of the group to which your dataset, document or map is linked is to check that the uploaded item is correct. Particularly, in the case of a dataset or a map, it consists of checking that the chosen cartographic representation and the style are fitting but also that the discretization is appropriate.
The Manager must also check that the metadata are properly completed and that the mandatory information (Title, Abstract, Edition, Keywords, Category, Group, Region) are filled.
If needed, the Manager can contact the contributor responsible of the dataset, document or map in order to report potential comments or request clarifications.
Members of the group can also take part in the reviewing process and give some potential inputs to the responsible of the dataset, document or map.
When the Manager considers that the resource is ready to be published, he should approve it. To do so, the Manager goes to the resource detail page, then opens the :guilabel:`Edit Metadata`. In the :guilabel:`Settings` tab, the manager checks the :guilabel:`Approved` box, and then updates the metadata and saves the changes:
Following this approval, the GeoNode Administrators receive a notification informing them that an item is now waiting for publication
Prior to the public release of an approved resource, the Administrator of the platform performs a final validation of the item and its metadata, notably to check that it is in line with license policies.
If needed, the GeoNode Administrator can contact the Manager who has approved the resource, as well as its responsible.
Once the resource is validated, the item is made public by the Administrator.
It can now be viewed, accessed, and downloaded in accordance with the Permissions
set by the responsible contributor.
If the owner is a group Manager, They have permissions to edit, approve, and publish the resource.
When a group member is promoted to a manager role, they gain permissions to edit, approve and publish the resource.
When a group manager is demoted to a member role, they lose edit permissions of the resource and only remain with view and download permissions.
When a member is removed from the group, they can nolonger access the unpublished resource anymore.
So far GeoNode implements two distinct roles, that can be assigned to resources such as datasets, maps or documents:
- party who authored the resource
- party who can be contacted for acquiring knowledge about or acquisition of the resource
These two profiles can be set in the GeoNode interface by accessing the metadata page and setting the Point of Contact
and Metadata Author
fields respectively.
Is possible for an administrator to add new roles if needed, by clicking on the :guilabel:`Add contact role` button in the :guilabel:`Base -> Contact Roles` section:
Clicking on the :guilabel:`People` section (see figure) will open a web for with some personal information plus a section called :guilabel:`Users`.
Is important that this last section is not modified here unless the administrator is very confident in that operation.
Some of the datasets information can be edited directly through the admin interface although the best place is in the :guilabel:`Dataset -> Metadata Edit` in GeoNode.
Clicking on the :guilabel:`Admin > Dataset > Datasets` link will show the list of available datasets.
Warning
It is not recommended to modify the Datasets' Attributes
or Styles
directly from the Admin dashboard unless you are aware of your actions.
The Metadata
information can be changed for multiple datasets at once through the :guilabel:`Metadata batch edit` action. Select the datasets you want to edit in the batch and at the bottom, enter the Metadata batch edit action then click :guilabel:`Go`.
This will open a form with the information you can edit in a batch. see picture below.
By clicking over one Dataset link, it will show a detail page allowing you to modify some of the resource info like the metadata, the keywords, the title, etc.
Note
It is strongly recommended to always use the GeoNode resource :guilabel:`Edit Metadata` or :guilabel:`Advanced Metadata` tools in order to edit the metadata info.
The Permissions
can be changed also for multiple Datasets at once through the :guilabel:`Set permissions` action.
By clicking over one Dataset link, it will show a detail page allowing you to modify the permissions for the selected resources.
Similarly to the Datasets, it is possible to manage the available GeoNode Maps through the Admin panel also.
Move to :guilabel:`Admin > Maps` to access the Maps list.
Notice that by enabling the Featured
option here, will allow GeoNode to show the Map thumbnail and the Map detail link at the top under featured resources on the :guilabel:`Home Page`
Similarly to the Datasets and Maps, it is possible to manage the available GeoNode Documents through the Admin panel also.
Move to :guilabel:`Admin > Documents` to access the Documents list.
By clicking over one Document link, it will show a detail page allowing you to modify some of the resource info like the metadata, the keywords, the title, etc.
:guilabel:`Admin > Base` contains almost all the objects you need to populate the resources metadata choices.
In other words the options available from the :guilabel:`select-boxes` of the resource :guilabel:`Edit Metadata` and :guilabel:`Advanced Metadata` forms.
Note
When editing the resource metadata through the :guilabel:`Edit Metadata`, some fields are marked as mandatory
and by filling those information
the Completeness
progress will advance accordingly.
Even if not all the fields have been filled, the system won't prevent you to update the metadata; this is why the Mandatory
fields are
mandatory to be fully compliant with an ISO 19115
metadata schema, but are only recommended to be compliant with GeoNode.
Also the Completeness
indicates how far the metadata is to be compliant with an ISO 19115
metadata schema.
Of course, it is highly recommended to always fill as much as possible at least all the metadata fields marked as Mandatory
.
This will improve not only the quality of the data stored into the system, but will help the users to easily search for them on GeoNode.
All the Search & Filter
panels and options of GeoNode are, in fact, based on the resources metadata fields. Too much generic descriptions and
too empty metadata fields, will give highly un-precise and very wide search results to the users.
Through the :guilabel:`Admin > Base > Hierarchical keywords` panel it will be possible to manage all the keywords associated to the resources.
- The :guilabel:`Name` is the human readable text of the keyword, what users will see.
- The :guilabel:`Slug` is a unique label used by the system to identify the keyword; most of the times it is equal to the name.
Notice that through the :guilabel:`Position` and :guilabel:`Relative to` selectors, it is possible to establish a hierarchy between the available keywords. The hierarchy will be reflected in the form of a tree from the metadata panels.
By default each user with editing metadata rights on any resource, will be able to insert new keywords into the system by simply typing a free text on the keywords metadata field.
It is possible to force the user to select from a fixed list of keywords through the FREETEXT_KEYWORDS_READONLY setting.
When set to True keywords won't be writable from users anymore. Only admins can will be able to manage them through the :guilabel:`Admin > Base > Hierarchical keywords` panel.
Through the :guilabel:`Admin > Base > Licenses` panel it will be possible to manage all the licenses associated to the resources.
Warning
It is strongly recommended to not publish resources without an appropriate license. Always make sure the data provider specifies the correct license and that all the restrictions have been honored.
Through the :guilabel:`Admin > Base > Metadata Regions` panel it will be possible to manage all the admin areas associated to the resources.
Notice that those regions are used by GeoNode to filter search results also through the resource list view.
Note
GeoNode tries to guess the Regions
intersecting the data bounding boxes when uploading a new dataset. Those should be refined by the user dataset on anyway.
Through the :guilabel:`Admin > Base > Metadata Restriction Code Types` and :guilabel:`Admin > Base > Metadata Spatial Representation Types` panels, it will be possible to update only the metadata descriptions for restrictions and spatial representation types.
Such lists are read-only by default since they have been associated to the specific codes of the ISO 19115
metadata schema.
Changing them would require the system to provide a custom dictionary through the metadata catalog too. Such functionality is not supported actually by GeoNode.
Through the :guilabel:`Admin > Base > Metadata Topic Categories` panel it will be possible to manage all the resource metadata categories avaialble into the system.
Notice that by default, GeoNode provides the standard topic categories available with the ISO 19115
metadata schema. Changing them means that the system won't be
compliant with the standard ISO 19115
metadata schema anymore. ISO 19115
metadata schema extensions are not currently supported natively by GeoNode.
It is worth notice that GeoNode allows you to associate Font Awesome Icons to each topic category through their fa-icon
code.
Those icons will be used by GeoNode to represent the topic category on both the Search & Filter
menus and :guilabel:`Metadata` panels.
Warning
The list of the Metadata Topic Categories
on the home page is currently fixed. To change it you will need to update or override the GeoNode index.html
HTML template.
By default the Metadata Topic Categories
are writable. Meaning that they can be removed or created by the :guilabel:`Admin` panel.
It is possible to make them fixed (it will be possible to update their descriptions and icons only) through the MODIFY_TOPICCATEGORY setting.
As an Administrator you might need to broadcast announcements to the world about your portal or simply to the internal contributors.
GeoNode Announcements
allow actually to do that; an admin has the possibility to create three types of messages, accordingly to their severity,
decide their validity in terms of time period (start date and expiring date of the announcement), who can view them or not (everyone or just the
registerd members) and whenever a user can hide the message or not and how long.
There are three types of announcements accordingly to their severity level: General
, Warning
and Critical
The difference is mainly the color of the announcement box.
Only administrators and staff members can create and manage announcements.
Currently there two ways to access and manage the announcements list:
Via the GeoNode interface, from the :guilabel:`Profile` panel
Note
Those are accessible by both admins and staff members.
Via the GeoNode :guilabel:`Admin` panel
Note
Those are accessible by admins only.
The functionalities are almost the same for both the interfaces, except that from the :guilabel:`Admin` panel it is possible to manage the dismissals too.
Dismissals
are basically records of members that have read the announcement and closed the message box. An announcement can have one
dismissal type
among the three below:
- :guilabel:`No Dismissal Allowed` it won't be possible to close the announcement's message box at all.
- :guilabel:`Session Only Dismissal` (*) the default one, it will be possible to close the announcement's message box for the current browser session. It will show up again at next access.
- :guilabel:`Permanent Dismissal Allowed` once the announcement's message box is closed, it won't appear again for the current member.
From the :guilabel:`Profile` panel, click on Announcements
link
Click either on :guilabel:`New Announcement` to create a new one or over a title of an existing one to manage its contents.
Create a new announcement is quite straight; you have to fill the fields provided by the form.
Warning
In order to be visible, you will need to check the :guilabel:`Site wide` option in any case. You might want to hide the message to anonymous users by enabling the :guilabel:`Members only` option too.
Managing announcements form the :guilabel:`Admin` panel, is basically the same; the fields for the form will be exactly the same.
Accessing announcements options from the :guilabel:`Admin` panel, allows you to manage dismissals also. Through this interface you will be able to selectively decide members which can or cannot view a specific announcement, or force them to visualize the messages again by deleting the dismissals accordingly.
GeoNode provides some integrated functionalities allowing you to quickly and easily customize the top-bar menu (see the example below).
With minor changes of the basic.html
template, potentially, it could be possible to use the same approach for a more complex customization.
Let's start with the simple one.
By default GeoNode provides custom placeholders
already defined into the basic.html
template, called CARDS_MENU
, TOPBAR_MENU_RIGHT
, TOPBAR_MENU_LEFT
, TOPBAR_MENU
.
From the :guilabel:`Admin > Base` panel, it is possible to access to the Menu
, Menu Items
and Menu Placeholder
options.
The hierarchical structure of a custom Menu
is the following one:
Menu Placeholder
; first of all you need to define a placeholder both into the :guilabel:`Admin > Base` panel and thebasic.html
template, using the same keyword.By default GeoNode provides already defined menus.
Menu
; second thing to do is to create a new menu associated to the corresponding placeholder.This is still possible from the :guilabel:`Admin > Base` panel
You will need to provide:
A
Title
, representing the name of theMenu
visible by the usersWarning
By using this approach, internationalization won't be supported. For the time being GeoNode does not support this for menus created from the :guilabel:`Admin > Base` panel.
A
Menu Placeholder
from the existing ones.A
Order
in the case you'll create more menus associated to the same placeholder.
Menu Item
; finally you will need to create voices belonging to the menu. For the time being, GeoNode allows you to create onlyhref
links.Warning
The
Menu
won't be visible until you add more than oneMenu Item
, If you have 1, item, the item will be showed(but not under the menu).
This small section won't cover entirely the GeoNode OAuth2 security integration, this is explained in detail in other sections of the documentation (refer to :ref:`oauth2_fixtures_and_migration` and :ref:`oauth2_tokens_and_sessions`).
Here we will focus mainly on the :guilabel:`Admin > DJANGO/GEONODE OAUTH TOOLKIT` panel items with a specific attention to the Access tokens
management.
The :guilabel:`Admin > DJANGO/GEONODE OAUTH TOOLKIT` panel (as shown in the figure below) allows an admin to manage everything related to GeoNode OAuth2 grants and permissions.
As better explained in other sections of the documentation, this is needed to correctly handle the communication between GeoNode and GeoServer.
Specifically from this panel an admin can create, delete or extend OAuth2 Access tokens
.
The section :ref:`oauth2_tokens_and_sessions` better explains the concepts behind OAuth2 sessions; we want just to refresh the mind here about the basic concepts:
- If the SESSION_EXPIRED_CONTROL_ENABLED setting is set to True (by default it is set to True)
a registered user cannot login to neither GeoNode nor GeoServer without a valid
Access token
. - When logging-in into GeoNode through the sign-up form, GeoNode checks if a valid
Access token
exists and it creates a new one if not, or extends the existing one if expired. - New
Access tokens
expire automatically after ACCESS_TOKEN_EXPIRE_SECONDS setting (by default 86400) - When an
Access token
expires, the user will be kicked out from the session and forced to login again
It is possible from the :guilabel:`Admin > DJANGO/GEONODE OAUTH TOOLKIT` panel to create a new Access token
for a user.
In order to do that, just click on the :guilabel:`Add` button beside Access tokens
topic
On the new form
select the followings:
User
; use the search tool in order to select the correct user. The form want the user PK, which is a number, and not the username. The search tool will do everything for you.Source refresh token
; this is not mandatory, leave it blank.Token
; write here any alphanumeric string. This will be theaccess_token
that the member can use to access the OWS services. We suggest to use a service like https://passwordsgenerator.net/ in order to generate a strong token string.Application
; select GeoServer, this is mandatoryExpires
; select an expiration date by using the :guilabel:`date-time` widgets.Scope
; select write, this is mandatory.
Do not forget to :guilabel:`Save`.
From now on, GeoNode will use this Access Token
to control the user session (notice that the user need to login again if closing the browser session),
and the user will be able to access the OWS Services by using the new Access Token
, e.g.:
https://dev.geonode.geo-solutions.it/geoserver/ows?service=wms&version=1.3.0&request=GetCapabilities&access_token=123456
Notice the ...quest=GetCapabilities&access_token=123456
(access_token) parameter at the end of the URL.
Everything said about the creation of a new Access Token
, applies to the deletion of the latter.
From the same interface an admin can either select an expiration date or delete all the Access Tokens
associated to a user, in order to
force its session to expire.
Remember that the user could activate another session by logging-in again on GeoNode with its credentials.
In order to be sure the user won't force GeoNode to refresh the token, reset first its password or de-activate it.