Use DRUPAL_AUTHENTICATED_RID instead of hard-coded '2'

Dave Reid - January 17, 2009 - 03:02
Project:Admin Role
Version:6.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Description

Great module so far! Little patch that simplifies things the Drupal way.

AttachmentSize
adminrole-role-const-D6.patch810 bytes

#1

Bevan - January 19, 2009 - 03:27

Patch code looks good. Needs to be tested that it applies and doesn't break anything.

#2

jaydub - August 14, 2009 - 18:03

Here's a drupal 5 version of this patch which in passing also addresses #367977: Role Mismatch if there is a gap in the Role-IDs

AttachmentSize
adminrole.module.360091.patch 980 bytes

#3

Dave Reid - November 25, 2009 - 02:29
Status:needs review» reviewed & tested by the community

Yeah this looks good.

#4

Dave Reid - November 25, 2009 - 03:52

#5

Dave Reid - November 25, 2009 - 15:49
Status:reviewed & tested by the community» fixed

Fixed as a part of #615336: Admin Role - Permissions and Sync module with D7-implementation for upgrading ease..

#6

System Message - December 9, 2009 - 15:50
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.