gcode-mirror / google-highly-open-participation-drupal

Automatically exported from code.google.com/p/google-highly-open-participation-drupal
0 stars 0 forks source link

Content Access Workflow-ng Integration #126

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Workflow-ng is a rule-based event driven action evaluation system to
customize Drupal's built-in workflows in a very flexible way. Content
Access is a module, which allows you to manage permissions for content
types by role and author. It allows one to specify custom view, edit and
delete permissions for each content type. Optionally one can also enable
per node access settings, so you can customize the access for each node.
The tasks is to provide workflow-ng integration for content access. This
will enable people to automatically customize the content access with
workflow-ng, which opens the door for a lot of use cases.

For this task, you need first to install and familiarize yourself with the
Workflow-ng as well with content access for Drupal 5.5.

http://drupal.org/project/workflow_ng
http://drupal.org/project/content_access

The Token module may be useful as a reference since many of the functions
in workflow-ng depend on Token.
http://drupal.org/project/token
http://drupal.org/node/156288

Your issue: http://drupal.org/node/206372

The workflow-ng integration should only work with nodes of a type, where
"per node settings" are activated in the content access settings. Then add
an action, which allows one to set custom permissions for content. Add
another action, which allows one to revert the settings back to the content
type defaults.

Furthermore add an condition, which allows one to check the access control
settings of a node. One should be able to select permissions by role (and
author). Then the condition should return true if all these roles have
access, otherwise false. Find an appropriate label for this condition.

If the action/condition runs with a node of a type, which hasn't enabled
"per node settings", show an error by using "workflow_ng_handle_error_msg()".

Add the workflow-ng integration to the content access module as separate
include file, which is only included when the workflow_ng module is active.
Create a patch for content access and post it here:
http://drupal.org/node/206372. Your task is completed, when the patch is
set to RTBC.

Original issue reported on code.google.com by nup...@gmx.at on 4 Jan 2008 at 7:04

GoogleCodeExporter commented 9 years ago

Original comment by nup...@gmail.com on 4 Jan 2008 at 7:06

GoogleCodeExporter commented 9 years ago
I claim this task.

Original comment by edwardzy...@thewritingpot.com on 8 Jan 2008 at 9:43

GoogleCodeExporter commented 9 years ago
All yours. Post all work to http://drupal.org/node/206372.

Original comment by addi.be...@gmail.com on 8 Jan 2008 at 9:46

GoogleCodeExporter commented 9 years ago
Status needs to be changed to "Claimed"

Original comment by chris.morganiser on 9 Jan 2008 at 5:51

GoogleCodeExporter commented 9 years ago
I've done so.

Original comment by nup...@gmail.com on 9 Jan 2008 at 9:45

GoogleCodeExporter commented 9 years ago
This task is complete.

Original comment by edwardzy...@gmail.com on 16 Jan 2008 at 3:46

Attachments:

GoogleCodeExporter commented 9 years ago
Great job, as usual.

Original comment by acli...@gmail.com on 16 Jan 2008 at 3:49

GoogleCodeExporter commented 9 years ago

Original comment by acli...@gmail.com on 21 Jan 2008 at 4:00