Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
6.x-1.x-dev
Component:
userreference.module
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
8 May 2006 at 21:01 UTC
Updated:
22 Aug 2006 at 15:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
edrex commented+1 This is clearly a necessary feature in order for userrefs to be fully usable.
Comment #2
edrex commentedOk, I've implemented this.
I had to make some behavioral decisions, others should discuss if the behavior is appropriate.
Anonymous isn't shown in the role list. Currently, making a field optional and selecting the empty value results in the anonymous user being associated with the node. This needs to be resolved, but for now I'm just leaving out the Anon role.
Selecting Authenticated User as an allowed role results in the current behavior: all users (except Anon) are available. If Auth User isn't allowed, then only users with the allowed roles are available.
This feature needs testing.
Changed functions:
Comment #3
edrex commentedI thought about this afterward, and I wonder if this feature hasn't been deferred until work commences on per-field access control. I know there's a horrendous amount of traffic, but if one of the Joh?ns could indicate a preference for this patch?
Also, anyone interested in this feature should test it and indicate problems or lack of problems.
Comment #4
hutch commentedUsing version 4.7.1 of drupal and userreference.module,v 1.24
I have applied the userref_role.patch and it's working so far, only limited testing but it's just what I was looking for, a great improvement.
Thanks!
Comment #5
jonbob commentedCommitted with bugfixes.
Comment #6
(not verified) commented