<p>It is! You can use the <code>requirePermission</code> tag:</p>

<pre><code>{% requirePermission "yourPermission" %}
</code></pre>

<p>See the full documentation <a href="http://buildwithcraft.com/docs/templating/requirepermission">here</a>. Keep in mind this list as built in permissions but you can also add custom permissions through a plugin should you require it.</p>

<p>As far the second question, I'm not 100% sure but I believe you can set "enabled" to "false" when creating a registration form. See further details <a href="http://buildwithcraft.com/docs/templating/user-registration-form">here</a>.</p>

<p>Update: You can also use <a href="http://buildwithcraft.com/docs/templating/usermodel#isInGroup">isInGroup</a></p>

CC BY-SA 3.0
2014-10-07T06:27:07.823Z
Thank you. I'll look into it. Never had anything to do with user based stuff.
KSPR
CC BY-SA 3.0
2014-10-06T14:57:21.650Z
2014-10-06T15:02:30.513Z
2014-10-06T15:02:30.513Z
Peter Tell
<p>Is it possible to restrict a part of a website to craft user-groups?</p>

<p>For instance if I want show an internal Blog to members-only.</p>

<p>And is it possible to moderate user registrations? So when somebody registers an Admin has to approve it first?</p>

<users>
Part of a website only accessible to users
# Part of a website only accessible to users

(Asked by: username_0 on 2014-10-06)

Is it possible to restrict a part of a website to craft user-groups?

For instance if I want show an internal Blog to members-only.

And is it possible to moderate user registrations? So when somebody registers an Admin has to approve it first?

**Tags:** users

---

## 1 answers

### Answer by username_1 on 2014-10-06. Score: 5 | Accepted answer

It is! You can use the requirePermission tag:
{% requirePermission "yourPermission" %}

See the full documentation here. Keep in mind this list as built in permissions but you can also add custom permissions through a plugin should you require it.
As far the second question, I'm not 100% sure but I believe you can set "enabled" to "false" when creating a registration form. See further details here.
Update: You can also use isInGroup

> **Comments:**
> **username_0**: Thank you. I'll look into it. Never had anything to do with user based stuff.  

---

