Closed (fixed)
Project:
Diff
Version:
6.x-2.0-rc1
Component:
Miscellaneous
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Apr 2008 at 14:19 UTC
Updated:
5 Jun 2008 at 18:42 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
moshe weitzman commentedcheck your permissions.
Comment #2
stretchsje commentedIf you're referring to the privileges in drupal, I'm logged in as the administrator there. Shouldn't I automatically have the permissions needed? In any event, I see no checkbox to grant diff permissions to authenticated users.
Server-side, I granted read and execute privileges to DiffEngine.php.
Thanks
Comment #3
dleins commentedI have exactly the same problem. Fresh install of 6.2, permissions look to be fine. I'm logged in as administrator and get an Access Denied message when trying to access revision diff report. Tried entering several different revision combinations, created an authenticated user with permissions to everything listed in permissions, logged in as that user and still no go.
Comment #4
rötzi commentedThere was a change to the menu API in Drupal 6.2 (http://drupal.org/node/243389).
We may have to specify the access argument in "diff_menu" for it to work correctly.
Comment #5
Bundus commentedI to have a fresh copy of Drupal 6.2 and get the dreaded "Access denied: You are not authorized to access this page." message when attempting to compare any two revisions regardless of user account (administrator or otherwise)
Comment #6
janv@www.drupalsites.net commentedSame problem here
Comment #7
janv@www.drupalsites.net commentedI added
'access arguments' => array('view revisions'),to diff_menu and the problem is solved.
Comment #8
jared.lenover commentedI'm still having problems with this. I added janv's line to the diff_menu function in diff.module but I still get access denied when I press the Show diff button. Am I maybe adding the code in the wrong spot?
Comment #9
janv@www.drupalsites.net commentedI had to clear the cache at admin/settings/performance to make it work.
Comment #10
jared.lenover commentedThanks! That worked. I appreciate the help. :)
Comment #11
Anonymous (not verified) commentedI have the same problem. Please add the correspondng code for access arguments to the diff_menu function and publish a new release candidate.
Comment #12
gregglesThe patch style is not to the Drupal standard, but the concept is valid and this is trivial enough that patch style shouldn't hold back the fix. IMHO, this is a "critical" bug since it completely breaks the module.
Comment #13
Anonymous (not verified) commentedI appreciate for the wrong format. I was too lucky, that I created a patch on windows, as applying patches is very difficult and creating one was very easy (using winmerge).
I'll check the Drupal standard.
Hope that get's in the module soon.
Comment #14
damien tournoud commentedHere is a correct patch that solve this issue (+ an E_ALL problem with some forms, especially views one).
Comment #15
moshe weitzman commentedcommitted. release forthcoming. thanks.
Comment #16
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.