Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

In this Discussion

Custom permissions and custom errors

lifeisfoolifeisfoo Zombie plugins finder ✭✭✭

I'm developing an application with the Garden framework and now I'm securing controllers actions using custom permissions.

class MyController extends Gdn_Controller {
public function Index() {

When I access to /myController with a role that don't has this permission I see this:

Can I customize this error page only for this controller action (not globally)?

Need a custom plugin? Contact me via vanilla private messages | Explore my GitHub repository | See my latest vanilla plugins



Sign In or Register to comment.