# codes.frnd.authGroups

> Published by [frnd.codes](https://lexicon.garden/identity/did:plc:k3kbuh4arbl4b5oeawkudwg5)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:k3kbuh4arbl4b5oeawkudwg5/codes.frnd.authGroups)
- [Documentation](https://lexicon.garden/lexicon/did:plc:k3kbuh4arbl4b5oeawkudwg5/codes.frnd.authGroups/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:k3kbuh4arbl4b5oeawkudwg5/codes.frnd.authGroups/examples)

## Definitions

### `codes.frnd.authGroups`

**Type**: `permission-set`

```json
{
  "type": "permission-set",
  "title": "Private frnd.codes groups",
  "detail": "Create private identity groups and view groups shared with you.",
  "permissions": [
    {
      "type": "permission",
      "action": [
        "read",
        "create",
        "update",
        "delete"
      ],
      "manage": [
        "create",
        "update",
        "delete"
      ],
      "resource": "space",
      "authority": "self",
      "spaceType": "codes.frnd.shared.group",
      "collection": [
        "codes.frnd.shared.groupData",
        "codes.frnd.actor.identity"
      ]
    },
    {
      "type": "permission",
      "action": [
        "read"
      ],
      "resource": "space",
      "authority": "*",
      "spaceType": "codes.frnd.shared.group"
    },
    {
      "type": "permission",
      "action": [
        "read",
        "create",
        "update",
        "delete"
      ],
      "manage": [
        "create",
        "update",
        "delete"
      ],
      "resource": "space",
      "authority": "self",
      "spaceType": "codes.frnd.shared.access",
      "collection": [
        "codes.frnd.shared.accessEntry"
      ]
    },
    {
      "type": "permission",
      "action": [
        "create",
        "update",
        "delete"
      ],
      "resource": "space",
      "authority": "*",
      "spaceType": "codes.frnd.shared.access",
      "collection": [
        "codes.frnd.shared.accessEntry"
      ]
    }
  ]
}
```

## Raw Schema

```json
{
  "id": "codes.frnd.authGroups",
  "defs": {
    "main": {
      "type": "permission-set",
      "title": "Private frnd.codes groups",
      "detail": "Create private identity groups and view groups shared with you.",
      "permissions": [
        {
          "type": "permission",
          "action": [
            "read",
            "create",
            "update",
            "delete"
          ],
          "manage": [
            "create",
            "update",
            "delete"
          ],
          "resource": "space",
          "authority": "self",
          "spaceType": "codes.frnd.shared.group",
          "collection": [
            "codes.frnd.shared.groupData",
            "codes.frnd.actor.identity"
          ]
        },
        {
          "type": "permission",
          "action": [
            "read"
          ],
          "resource": "space",
          "authority": "*",
          "spaceType": "codes.frnd.shared.group"
        },
        {
          "type": "permission",
          "action": [
            "read",
            "create",
            "update",
            "delete"
          ],
          "manage": [
            "create",
            "update",
            "delete"
          ],
          "resource": "space",
          "authority": "self",
          "spaceType": "codes.frnd.shared.access",
          "collection": [
            "codes.frnd.shared.accessEntry"
          ]
        },
        {
          "type": "permission",
          "action": [
            "create",
            "update",
            "delete"
          ],
          "resource": "space",
          "authority": "*",
          "spaceType": "codes.frnd.shared.access",
          "collection": [
            "codes.frnd.shared.accessEntry"
          ]
        }
      ]
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
