Own that page

This project is not covered by Drupal’s security advisory policy.

OwnThatPage is a simple module by Fox to allow owning (changing the permission) of certain system paths or removing them completely.

It provides 2 text areas

  • Paths: The path textarea accepts paths and permissions pairs, one per line. The permission is not required, and when left off will remove the path. Careful with this; for example if you remove node/add, and it is in a menu, all menu items will appear on a level above where they original were.
  • Permissions:Allows new permissions to be created dynamically; they are normal permissions and thus can be assigned just like other permissions.

An example, and the default configuration, is for changing the node and node/add paths' permissions to administer nodes for sites that don't have public users and who are not using /node as the front page.

node/add,administer nodes
node,administer nodes

New

* can be used for paths like with block visibility, woohooo! Wanna get rid of all your admin/settings but ownthatpage?

admin/settings/ownthatpage,do not own that page
admin/settings/*

Deny Node Path

This module can provide the same behavior (and more :D ) than deny node path via adding "access node path" permission and changing the node line to "node,access node path."
The modules were not merged as the denynodepath module name was too limiting.

Project information

Releases