Access to certain resources information when authenticating sessions

Hello, I have some code working where I create and authorize a session where I pass as resources the following argument:
resources: [ceramic://*]

The code:

const session = await DIDSession.authorize(authProvider, {
            resources: [`ceramic://*`],
        });

This leads to read/modify information in any ceramic model added to the ceramic network, right?

Is it possible to specify just one model instead of all models?

Thanks a lot!

Eloy

yeah we support more granular permissions, but it is best supported with composedb, if using glaze/selfid/tilestreams we recommend using the wildcard resources still for now

1 Like

Hello, thanks for the reply!

I deployed the model using glaze, so I guess I should use the wildcard resource for now. By wildcard resource you mean this right?

`ceramic://*`

Thanks a lot again :slight_smile:

I just did a bit of research and I saw that wildcard resource means:

`ceramic://*`

Thanks a lot, and I will wait for this change to avoid using wildcard resource in near future.

Eloy

1 Like