question

Kytan avatar image
Kytan asked

Allow anyone to read Groups objects

What is the global policy to allow anyone with a group entity to read its objects?

apisentitiesdata
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Gosen Gao avatar image
Gosen Gao answered

You can add the policy below to the global policy to allow anyone to access group’s Objects.

{
    "Action": "Read",
    "Effect": "Allow",
    "Resource": " pfrn:data--group!*/Profile/Objects/*",
    "Principal": {
      "ChildOf": {
        "EntityType": "title",
        "EntityId": "YOUR-TITLE-ID"
      }
    },
    "Comment": "Allow anyone to read group entity Objects",
    "Condition": null
}

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Alexandru avatar image Alexandru commented ·

for anyone looking to use the snippet above. I had an error pasting it caused by the extra space on line 4.

{    "Action": "Read",    "Effect": "Allow",    "Resource": "pfrn:data--group!*/Profile/Objects/*",    "Principal": {      "ChildOf": {        "EntityType": "title",        "EntityId": "YOUR-TITLE-ID"      }    },    "Comment": "Allow anyone to read group entity Objects",    "Condition": null}
0 Likes 0 ·
Alexandru avatar image Alexandru Alexandru commented ·
{    "Action": "Read",

    "Effect": "Allow",

    "Resource": "pfrn:data--group!*/Profile/Objects/*",

    "Principal": {

      "ChildOf": {

        "EntityType": "title",

        "EntityId": "YOUR-TITLE-ID"

      }

    },

    "Comment": "Allow anyone to read group entity Objects",

    "Condition": null

}
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.