A dataset's Security tab

Edited

Access and permissions can be specified for any individual dataset.

To do this, go to its Security tab, where you will find several available tools: You can apply a filter to control what fields in a dataset are visible in the portal. You can also limit the number of API calls allowed on the dataset, and especially you can provide access and permissions specific users and groups (and not to others).

Remember that to you can also manage users' general permissions.

Default security toggle

To restrict access to the dataset you're editing, simply activate the "Default security" toggle.

Once activated, you are able to manage access and permissions to this dataset, both by user and by group.

Note that if you restrict access but do not specify any users or groups, only your workspace's admins will have access to this dataset.

By default, restricted access to all datasets is not enabled on new workspaces. In those cases, when you create a new dataset anyone with access to your portal has access to the new dataset as well.To change this default behavior, in your back office go to Configuration > Security. There, under "Make new datasets private by default," activate the toggle.

Filtering visible fields, records, and API call limits for all users

Even without restricting the dataset to specific users or groups, you can still limit which of this dataset's fields are visible in the portal, as well as limit the number of API calls any one user can make to that dataset.

Click on Show options under "Filters" to filter which fields (or columns) are visible in the portal. Click on the "x" or "+" icons to add and remove fields from those that will be visible to your users.

You can also use the same query language used to search within a dataset to limit which records (or rows) are visible.

Adding permissions by user

Once you have restricted access to a dataset, you can allow specific users access to it.

Simply begin typing their identifier into the "Users" field, and Opendatasoft will suggest the list of your users starting with those letters. Click on a user to add them to the dataset.

Once they're added, you can select if they are permitted to edit and publish the dataset, and you can limit the number of API calls this user is allowed to perform.

The same options are available here to filter which fields and records (columns and rows) are visible in your portal. Remember, however, that anyone with the right to edit the dataset will still be able to see the full dataset in their back office.

Adding permissions by group

Once you have restricted access to a dataset, you can allow access to specific groups of users.

Click on Select group to add and select the group from the list. Note that once you've added a group, its members are listed on the right.

Then you can select if that group is permitted to edit and publish the dataset, and you can limit the number of API calls any single member of the group is allowed to perform.

The same options are available here to filter which fields and records (columns and rows) are visible in your portal. Remember, however, that anyone with the right to edit the dataset will still be able to see the full dataset in their back office.

Note that by default, your workspace begins with five groups: Content designers, Data publishers, Data users, Domain administrators, and Service creators. Groups are managed under Users & Groups > Groups. See our documentation for more information on managing groups.

OAuth2 Scope

Opendatasoft has implemented the OAuth2 authorization flow. See here, and especially our Explore API documentation for more information.

This field is where you specify the scope, which is what defines who can access the dataset using OAuth2.