| 1 |
== URL Access ==
|
| 2 |
This module adds an option to node edit forms to mark a page as 'protected'.
|
| 3 |
When submitted, this generates a UUID and adds a path to 'protected/{UUID}' to
|
| 4 |
the {url_alias} table. When accessing the node, only users with the 'Administer
|
| 5 |
nodes' permission, the node author, and those with the correct URL
|
| 6 |
can access the page.
|
| 7 |
|
| 8 |
== Installation ==
|
| 9 |
Extract the module to your modules folder and enable it on the modules page. A
|
| 10 |
{url_access} table will be created for MySQL. If you are using PostgresSQL,
|
| 11 |
please check to see if the CREATE TABLE syntax works and if so let me know
|
| 12 |
via the issue queue for this module.
|
| 13 |
|
| 14 |
== Using URL Access ==
|
| 15 |
When creating a node, check off "Require unique URL for access" under
|
| 16 |
"URL Access Restrictions". The generated link will be displayed after
|
| 17 |
submission. As well, viewing the URL Access Restrictions frameset on a
|
| 18 |
restricted node will show the protected URL. If you disable and renable URL
|
| 19 |
access protection on a node, note that a new UUID will be generated.
|
| 20 |
|
| 21 |
Note that this module does not use the normal node_access API, as it is not
|
| 22 |
able to be expressed in terms of users. This means that the node may still be
|
| 23 |
viewable by other modules, including the search mechanism. It is recommended to
|
| 24 |
pair this module with the search_block moudule to exclude protected nodes from
|
| 25 |
search.
|
| 26 |
|
| 27 |
== About ==
|
| 28 |
This module was created by Andrew Berry for Pinchin Environmental.
|
| 29 |
mailto:andrewberry@sentex.net
|
| 30 |
http://www.pinchin.com/
|
| 31 |
Project Page: http://drupal.org/project/url_access
|