Eloy
October 7, 2022, 3:00pm
1
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
zfer
October 7, 2022, 7:44pm
2
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
Eloy
October 13, 2022, 12:58am
3
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
Eloy
October 14, 2022, 2:42pm
4
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