Jump to content

module user - You do not have permission to execute this module


benbyf
 Share

Recommended Posts

Hi, I working on auser module and have recently got this error when trying to delete a user: Error: Exception: You do not have permission to execute this module - ProcessPageView

this only happens when accessing the user->delete function as the below within my module. Anyone happen to know why that may be?

// @string $user = name field
public function deleteUser($user){
	$u = $this->users->get($user);

	if($u->id) {
		$this->users->delete($u);
	}
}

 

similar to this error i believe:

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...