# Using Roles and Permissions to gate content within pages

**URL:** <https://community.weweb.io/t/using-roles-and-permissions-to-gate-content-within-pages/7458>\
**Category:** Ask us anything\
**Tags:** authentication\
**Created:** [March 7, 2024, 6:37pm UTC](https://community.weweb.io/t/using-roles-and-permissions-to-gate-content-within-pages/7458 "2024-03-07T18:37:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jonathanmajor](https://avatars.discourse-cdn.com/v4/letter/j/9f8e36/32.png) [@jonathanmajor](https://community.weweb.io/u/jonathanmajor)\
**Post date:** [March 7, 2024, 6:41pm UTC](https://community.weweb.io/t/using-roles-and-permissions-to-gate-content-within-pages/7458/2 "2024-03-07T18:41:52Z")

</div>

I see there is a tutorial, but this is for gating content at the page level, not within pages. For example I want to deactivate a button for usergroup-1 not usergroup-2.

> [@TUTORIAL – Add authentication and gate content with Auth0](https://community.weweb.io/t/tutorial-add-authentication-and-gate-content-with-auth0/150):
>
> To start setting-up Auth0 plugin in WeWeb, there are two pre-requisites: white_check_mark you already have an account with Auth0, it’s free for up to 7,000 active users white_check_mark you are logged into your Auth0 account Once that’s done, you can follow these 4 steps to start using Auth0 functionalities in WeWeb: Connect your Auth0 account Define on what page logged in and logged out users land Define user groups to gate content Change page settings to gate content Step 1 – …

---

_[View the full topic](https://community.weweb.io/t/using-roles-and-permissions-to-gate-content-within-pages/7458)._
