Add relation permission
| Project: | Clipper |
| Version: | HEAD |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Here's the use case: a magazine is edited entirely online. Authors submit articles, editors check them over then add them to a particular issue. The authors won't know which issue their article is for, nor should they be able to add the article to an issue.
This could perhaps be achieved by setting the post options to, by default, stick works in moderation so they don't show up in an issue even if the author naughtily adds a child-parent relation. But I'd prefer to keep articles fully published and open even if they don't show up in issues.
So: it would be nice if there was an extra permission for "Creating relations" or something similar. That way only editors would be allowed to make the child-parent relation, and authors simply wouldn't see the clipper part in the form.

#1
For my site, i already added some permissions for clipper.
I also use 'view relationships' permission. Because when i show 'clipped' content inline on a node page, i dont want users to see the parent or child node. (I give permission only for content editors)
#2
Please use the validate hook in the nodapi, to make the bahaviour more transparant. You current implementation is confusing for users, checking for perms on insert is bad, it breaks often and it also does not report anything to the user.