Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion admin_sdk/groups_settings/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,27 @@ this directory.
### Run

```
detect_external_access.py
python detect_external_access.py
```

## Restrict External Access

This script restricts external access to domain access for the given group.
It requires the same `client_secret.json` file used by the quickstart.


### Install

```
pip install --upgrade google-api-python-client
```

Follow the [Quickstart instructions](https://developers.google.com/admin-sdk/groups-settings/quickstart/python),
to create an OAuth2 client ID and download the `client_secret.json` file into
this directory.

### Run

```
python restrict_external_access.py
```