Did you have all those accesses in the Satellite UI?
Or all of them was generated in the uplink share? If so, is the basic access grant still on the satellite?
Please, check also caveats not_before and not_after, did they allow an access at the current date?
You need to have either base parent (root) Access Grant in the satellite, then use it to configure or import to the uplink and then create other (Child) access grants for other purposes. Or have each of Access Grants with all caveats generated in the satellite UI.
If you deleted a root access grant, all derived accesses are automatically revoked too.
I have probably done that.
I kept deleted and recreated all my access grants because I wanted a change of names.
Is there a way to regain root access grant?
Yes, just create another one and import it to the uplink import --overwrite.
If you want to import it with a different named access instead of default, you can specify it in the uplink import --access named-access 1Dfgkrk.... --overwrite
You will need to create derived access grants with the uplink share for all your previous accesses, because previous ones have been revoked with deleting an access grant from the satellite UI.
Or you can generate a new ones in the satellite UI directly, then they would be independent on each other.
The access grants in the satellite is not synced with accesses in the uplink. They serves the same purpose, but they are independent.
When you shared an access via uplink, you should not import it to the same uplink to the default access again.
I would suggest to delete all accesses to be not messed up, clear the browser cache and cookies and generate a new access grant, import it to the uplink
Make sure that you have an access with that access grant first:
uplink import 1bFGhh... --overwrite
uplink ls
If all ok, then you can create an restricted access grant to the some bucket
uplink share sj://muzic
and import the result to a different named access (not to default on the same PC account at least ):
uplink import --access muzic 1Fght.... --overwrite
uplink --access muzic ls
Thank you! Fixed an issue in the documentation.
And created a bug regarding revoke a named access grant. At the moment you should provide the serialized access grant after uplink revoke.
However, when I asked to remove accesses I mean to remove them from the satellite UI and from the config.yaml (or remove the config.yaml).
The revoking is working too, but the accesses will remained in the config.yaml, and if would try to use them, they will say that they are not authorized to do anything. This is the same result as if you remove the root access grants from the satellite,