Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for RemoveBucket (0.09 sec)

  1. cmd/admin-handlers-users_test.go

    	if err != nil {
    		c.Fatalf("unable to attach policy: %v", err)
    	}
    	// 2.3 check user has access to bucket
    	c.mustListObjects(ctx, uClient, bucket)
    	// 2.3 check that user cannot delete the bucket
    	err = uClient.RemoveBucket(ctx, bucket)
    	if err == nil || err.Error() != "Access Denied." {
    		c.Fatalf("bucket was deleted unexpectedly or got unexpected err: %v", err)
    	}
    
    	// 3. Craft a request to update the user's permissions
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
Back to top