Skip to content

Group Access Configuration

Marten edited this page Apr 8, 2022 · 7 revisions

Group access allow metadata to be accessed only by certain group of users. This page describes group access related configuration within Geoportal Server.

  • The default metadata access is public, but it can be set to private if needed (see below).
  • Administrator can give the metadata access to any of the groups that the administrator is part of.
  • Metadata owner can give access to any of the groups that the owner is part of.
  • Administrator/owner can change group access by clicking on Options > Set Access on the search result page.
  • Administrator/owner has the option to apply the access change to one item only, all items owned by the same user, all items harvestered from same source, or all selected items (you must make a selection before this option is visible, for non-administrators, you must select "My Content").
  • Two additional facets (Access and Acess Groups) will appear on the search panel to help user search for metadata when access control is enabled.

Enable group access

Group access configuration paramater is in [Tomcat8]/webapps/geoportal/WEB-INF/classes/config/app-context.xml

<beans:property name="supportsGroupBasedAccess" value="true"/>
<beans:property name="defaultAccessLevel" value="" /> <!-- optional - public|private -->
  • set supportsGroupBasedAccess to "true" to enable group access
  • set defaultAccessLevel to "public" or "private" depending on your preference, if it is null, it will be public.

Configure group access for simple authentication

If you are using authentication-simple.xml to manage user access, you can use "authorities" to set the groups the user is belonging to, for multiple groups, it would be a comma separated list, for example:

<security:user authorities="ROLE_ADMIN,ROLE_PUBLISHER,Group_Admin,GIS_Dept1" password="gptadmin" name="gptadmin"/>

Configure group access for LDAP authentication

  • If you are using authentication-ldap.xml to manage user access, the application will use the groups in LDAP to control access, please note that the administrator has to be in the group in order for the administrator to be able to make the metadata private to that group. An LDAP administrator might setup a group that contain all users if you want some metadata to be accessible to all logged-in users but not to public.

Configure group access for ArcGIS authentication

  • If you are using authentication-arcgis.xml to manage user access, the application will use the groups within Portal for ArcGIS or ArcGIS Online to control access. The administrator has to be a member of the group to allow the administrator to make the metadata private to that group. An LDAP administrator may setup a group that contains all Geoportal users if you want some metadata to be discoverable to all logged-in users, but not discoverable by anonymous users.
Clone this wiki locally