Enhance Channel export to include user-level subscription authorizations

Description

Channel documents for import support permissioning a channel to a user directly instead of a group, but the current channel export scripts don't deal with this use case.

Environment

None

Activity

Show:
Dustin Schultz
February 16, 2009, 8:05 PM

Potential patch for this.

Patch was done against rel-2.6-patches with latest Cernunnos JAR.

Patch creates

<groups>
<group></group>
</groups>
<users>
<user></user>
</users>

Was able to successfully export in this manner, however, have not tried import.

Dustin Schultz
February 24, 2009, 8:40 PM

Slight error I just discovered in my patch. In the section that adds the <user> elements, it needs to be

<append-node parent="${singleNode(users)}">
<user>${groovy(aMembership.getKey())}</user>
</append-node>

Dustin Schultz
February 24, 2009, 10:02 PM

Attached new patch UP-2221.txt.

Eric Dalquist
February 25, 2009, 12:04 AM

Resolved in trunk and will be merged into patches later today. Thanks Dustin.

Fixed

Assignee

Dustin Schultz

Reporter

Andrew Wills

Labels

None

Estimated End Date

None

Components

Fix versions

Affects versions

Priority

Major