I currently have a few users which are restricted to several different projects. It would be very useful for incus list --all-projects
to list all instances available in the projects those users have access to.
victoitor@bastion:~$ incus project list
+---------------+--------+----------+-----------------+-----------------+----------+---------------+----------------------------------------+---------+
| NAME | IMAGES | PROFILES | STORAGE VOLUMES | STORAGE BUCKETS | NETWORKS | NETWORK ZONES | DESCRIPTION | USED BY |
+---------------+--------+----------+-----------------+-----------------+----------+---------------+----------------------------------------+---------+
| aux (current) | YES | YES | YES | YES | NO | NO | Containers com baixo recurso | 4 |
+---------------+--------+----------+-----------------+-----------------+----------+---------------+----------------------------------------+---------+
| compartilhado | YES | YES | YES | YES | NO | NO | Experimentos - máquinas compartilhadas | 7 |
+---------------+--------+----------+-----------------+-----------------+----------+---------------+----------------------------------------+---------+
| dedicado | YES | YES | YES | YES | NO | NO | Experimentos - máquinas dedicadas | 2 |
+---------------+--------+----------+-----------------+-----------------+----------+---------------+----------------------------------------+---------+
victoitor@bastion:~$ incus list --all-projects
Error: Certificate is restricted
The current alternative is to run incus list --project <project name>
for every project the user has access to, which is not ideal.