cec idm list-acls

List acls by node UUID



List ACLs attached to one or more given nodes, and optionally delete them afterward. 
Can be handy for debugging purposes.


Given this listing in "test" workspace:

$./cec ls -d test
Found 4 nodes at test:
| Folder | 8ec79c1e-2464-40d0-a762-c36d8a9e5886 | . | 2.6 MB | 2 years ago |
| File | 1c989848-5eff-49cf-8727-4db754e02c25 | buro4.jpg | 541 kB | 2 years ago |
| File | d796d7c5-dce9-4994-bca3-3cf03c27c39d | büro1.jpg | 1.0 MB | 2 years ago |
| File | 15f09f59-9171-4e25-809a-488e475dafa4 | büro2.jpg | 996 kB | 2 years ago |

List ACLs for file "buro4.txt":

./cec idm list-acls --uuid 1c989848-5eff-49cf-8727-4db754e02c25

List ACLs for multiple files:

./cec idm list-acls -n 1c989848-5eff-49cf-8727-4db754e02c25 -n d796d7c5-dce9-4994-bca3-3cf03c27c39d

Delete all ACLs on a given node

./cec idm list-acls -n 1c989848-5eff-49cf-8727-4db754e02c25 --delete

./cec idm list-acls [flags]


      --delete         Delete all found ACLs
  -h, --help           help for list-acls
  -n, --uuid strings   Search by node UUID, can be used multiple times

Options inherited from parent commands

      --config string     Location of Cells Client's config files (default: /home/teamcity/.config/pydio/cells-client/config.json)
      --login string      The user login, for Client auth only
      --no_cache          Force token refresh at each call. This might slow down scripts with many calls
      --password string   The user password, for Client auth only
      --skip_keyring      Explicitly tell the tool to *NOT* try to use a keyring, even if present. Warning: sensitive information will be stored in clear text
      --skip_verify       By default the Cells Client verifies the validity of TLS certificates for each communication. This option skips TLS certificate verification
  -t, --token string      A valid Personal Access Token (PAT)
  -u, --url string        The full URL of the target server


Auto generated by Cells Client v4.1.0 on 21-Feb-2024
Back to top