Closed (fixed)
Project:
Domain
Version:
6.x-2.0-rc7
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Jun 2009 at 18:35 UTC
Updated:
6 Jun 2011 at 02:04 UTC
Jump to comment: Most recent file
Comments
Comment #1
agentrickardQuestion #1 is this:
When enabling the module, should we batch assign all users to the default domain?
There is a behavior inconsistency, in that users registered _after_ installation are auto-assigned to a domain, so should we not do so for old accounts on module enable?
[Note that we did not do this in D5 because the data was serialized onto the $user object, which would be difficult to do in hook_enable().]
Comment #2
agentrickardHere is a patch to auto-add users to the primary domain. Note that we deliberately exclude user 0, to avoid accidental security issues if the anon role is given the 'edit domain nodes' permission.
Comment #3
agentrickardPatch, part two.
I will clean up the first one and then post a merged patch.
Comment #4
agentrickardHere is the final patch.
Committed to HEAD.
Comment #5
agentrickard