_outline_designer_get_pstr returning incorrect strings

Cloudy - February 13, 2009 - 13:51
Project:Outline Designer
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

_outline_designer_get_pstr returns incorrect permission strings causing user_access checks to fail.

Wrong $op passed in _outline_designer_ajax(), checks for 'edit' - in D6 this is 'edit any'

The book content type is no longer a special case, no need to set $term = 'pages'

AttachmentSize
outline_designer.module-perm-strings.patch897 bytes

#1

btopro - February 13, 2009 - 15:52

Ya that's my fault, someone patched this for D5 and I just copy and pasted the function into the D6 version. Putting this into a dev as we speak

#2

btopro - February 13, 2009 - 16:36
Version:6.x-1.0-rc2» 6.x-1.x-dev
Status:needs review» fixed

#3

System Message - February 27, 2009 - 16:40
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.