mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
Add default canned policies (#6690)
This commit is contained in:
committed by
kannappanr
parent
e6252dee5a
commit
fde8c38638
@@ -10,7 +10,7 @@ In this document we will explain in detail on how to configure multiple users.
|
||||
- Install Minio - [Minio Quickstart Guide](https://docs.minio.io/docs/minio-quickstart-guide)
|
||||
|
||||
### 2. Create a new user with canned policy
|
||||
Use [`mc admin policies`](https://docs.minio.io/docs/minio-admin-complete-guide.html#policies) to create canned policies.
|
||||
Use [`mc admin policies`](https://docs.minio.io/docs/minio-admin-complete-guide.html#policies) to create canned policies. Server provides a default set of canned policies namely `writeonly`, `readonly` and `readwrite` *(these policies apply to all resources on the server)*. These can be overridden by custom policies using `mc admin policies` command.
|
||||
|
||||
Create new canned policy file `getonly.json`. This policy enables users to download all objects under `my-bucketname`.
|
||||
```json
|
||||
|
||||
Reference in New Issue
Block a user