Skip to main content
ArcBlock Community

Pages passport

ThatCryptoGirl
Developers
blocklet-serverfeaturequalifiedrewardedsecurity

Is it possible to issue a passport for part of the pages access? For example I’m setting up a page with several sections, I’d like people to be able to access some elements freely but other elements or areas I would like to be accessible only if the user has a valid passport issued in conjunction with a certain NFT collection, from what I can see there isn’t an option to select certain areas as passport only access whilst keeping others as free to view?

5 replies

ThatCryptoGirl2 years ago

Not sure if if explained that well enough but essentially the only option I can see for passport restricted viewing covers the entirety of the pages rather than just select pages?

Brain Titan2 years ago(edited)

Not sure if this answers the question, but hope it helps (see vid). It seems you can add passport restriction for any blocklet/component…but if we’re referring to specific access on certain areas of the same blocklet, then I’m not too certain on that one

ThatCryptoGirl2 years ago

Thanks for sharing z1dTAX6BubAxmhXGP8zMVAZAFwizvbv8gnB unfortunately that’s what I’m stuck on too, I had already set the passport access as shown in video but I’m just wondering if there’s a way to restrict only certain areas and leave others as a free for all access even without the passport 🤔 as your video shows, the passport seems to cover the entirety of the webpage rather than just an element of it 😬 would be good if we could have page 1,2 & 3 open to public but page 4,5 & 6 avaliable to access only with the passport if that makes sense 😅 hopefully there’s a workaround… but I’m yet to discover it 😂🫶🏽

wangshijun2 years ago

This is a valid feature proposal which is not supported by Blocklet Server yet.

In future versions, we may consider set access control policy on URL level, not only on component level.

ThatCryptoGirl2 years ago

That would be really useful 👍 I’ll keep an eye out in the future if this is implemented as it is most certainly something I would utilis! thank team 👏

Reply