Skip to content

Commit

Permalink
Merge pull request #28 from Vizzuality/fix/data_infos_access
Browse files Browse the repository at this point in the history
Permissions for public role to data info endpoints
  • Loading branch information
Agnieszka Figiel authored Oct 25, 2023
2 parents b21abfb + ea60ca5 commit 0d40f3a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,16 +111,15 @@
"list": [
"id",
"slug",
"content"
"content",
"createdAt"
],
"edit": [
[
{
"name": "slug",
"size": 6
}
],
[
},
{
"name": "content",
"size": 6
Expand Down
6 changes: 6 additions & 0 deletions cms/config/sync/user-role.public.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
"description": "Default role given to unauthenticated user.",
"type": "public",
"permissions": [
{
"action": "api::data-info.data-info.find"
},
{
"action": "api::data-info.data-info.findOne"
},
{
"action": "api::fishing-protection-level-stat.fishing-protection-level-stat.find"
},
Expand Down

0 comments on commit 0d40f3a

Please sign in to comment.