Needs review
Project:
Project CVS instructions
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Nov 2009 at 11:25 UTC
Updated:
14 Jul 2010 at 12:25 UTC
Jump to comment: Most recent file
Comments
Comment #1
joachim commentedVery very weird.
This has been resolved by the fix to #647048: Cannot edit project page.
In other words, if a user can't edit the project page because of input format restrictions, they don't get the CVS instructions they perhaps need!
Comment #2
damien tournoud commentedIt also happen that if a user can edit all the nodes (ie. have the administer node permission), he is always presented the instructions for maintainers.
The root of the problem is that
$is_maintainer = node_access('update', $project);is not the correct way to determine is a user is the maintainer for a project. Sadfully, the project module doesn't have a decent API to extract this information, so we will have to implement some manual checks.