Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This project is not covered by Drupal’s security advisory policy.
This module is useful to publish nodes that require an agreement to be signed by each user before they can access the content. Examples of agreements include Non-Disclosure Agreements, End-User License Agreements, etc. Nodes of any type can be protected by agreements, and each node can have its own specific agreement.
QUICKSTART GUIDE
- Create a new content type to hold the agreements (e.g., Agreement).
- Open the admin settings (admin/settings/node-agreement) and select the content type you just created.
- Create a new node of type Agreement and write the terms of the agreement.
- Create a new node of any type and click the Agreement tab. You'll get a list of available agreements - just the one created above, so go ahead and select it, then submit.
- Try to access this new node: you're first shown the agreement to accept before you can access the node.
CREDITS AND SPONSORSHIP
Sponsored by AdHack. Some patches sponsored by Aviisha Medical Wellness Institute. Thank you for your generous support.
If you feel this module is useful to your business, please consider the following:
Thanks!
DETAILS
- Admin settings also allow to specify the title and body of protected nodes when shown in teaser mode. This is in effect only for a user who hasn't signed the agreement.
- A Views filter "Node agreement > Accessible" is available to filter nodes based on whether they are protected or not for the current user.
- The table
node_agreement
stores the relationship between each protected node and its associated agreement. - The table
node_agreement_signature
stores individual user signatures, along with the timestamp. - This module does not modify node permissions. It relies on
hook_nodeapi
instead to control access to protected nodes.
ROADMAP
- Action to set/unset agreement (useful for admin in conjunction with Views Bulk Operations).
- Views integration to view signatures.
- Reset signatures (with explanation message) if an agreement is changed.
- Global settings can be overriden by per-node settings.
- #643402: Add Setting to Require submission of the Agreement Everytime
- #643410: Add option to have Checkbox instead of submit buttons
- #643418: Add option for multiple agreements per node agreement
Project information
- Unsupported
Not supported (i.e. abandoned), and no longer being developed. Learn more about dealing with unsupported (abandoned) projects - No further development
No longer developed by its maintainers. - Module categories: Content Editing Experience, Access Control
- 2 sites report using this module
- Created by infojunkie on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.