Jump to content

How do I enable ACP permissions for my application?


Go to solution Solved by teraßyte,

Recommended Posts

Posted

When installed, my application shows the following on the permissions tab:

Could contain: Text, Page, File

There are no member groups to select as I would expect and I am having trouble finding documentation around how this works.

How do I change the permissions on the modules?

Any help would be greatly appreciated!

Posted

...and it is added/created by the framework itself when you install the app.

It reflects directy in the canView() method of your Front Navigation extension:

	public function canView()
	{	
		return parent::canView() AND \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'hangaman', 'hangaman' ) );
	}

The second hangman there is the module, which I'm supposing is hangaman.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...