2011-02-23 16:24:32 +00:00
|
|
|
|
# The Antville Project
|
|
|
|
|
|
# http://code.google.com/p/antville
|
|
|
|
|
|
#
|
2014-07-04 17:16:51 +02:00
|
|
|
|
# Copyright 2001–2014 by the Workers of Antville.
|
2011-02-23 16:24:32 +00:00
|
|
|
|
#
|
|
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the ``License'');
|
|
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
|
|
#
|
|
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
#
|
|
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
|
# distributed under the License is distributed on an ``AS IS'' BASIS,
|
|
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
|
|
# limitations under the License.
|
2007-06-30 19:25:35 +00:00
|
|
|
|
|
2007-09-14 00:16:06 +00:00
|
|
|
|
_children = collection(Membership)
|
2011-02-15 18:57:15 +00:00
|
|
|
|
_children.accessName = name
|
2007-09-14 00:16:06 +00:00
|
|
|
|
_children.local = id
|
|
|
|
|
|
_children.foreign = site_id
|
|
|
|
|
|
_children.order = name asc
|
2004-01-03 17:31:28 +00:00
|
|
|
|
|
2007-09-14 13:13:50 +00:00
|
|
|
|
owners = collection(Membership)
|
2011-02-15 18:57:15 +00:00
|
|
|
|
owners.accessName = name
|
2007-09-14 13:13:50 +00:00
|
|
|
|
owners.local = id
|
|
|
|
|
|
owners.foreign = site_id
|
2010-04-25 17:31:44 +00:00
|
|
|
|
owners.filter = role = 'owner'
|
2007-09-14 13:13:50 +00:00
|
|
|
|
owners.order = name asc
|
2004-01-03 17:31:28 +00:00
|
|
|
|
|
2007-09-14 00:16:06 +00:00
|
|
|
|
managers = collection(Membership)
|
2011-02-15 18:57:15 +00:00
|
|
|
|
managers.accessName = name
|
2007-09-14 00:16:06 +00:00
|
|
|
|
managers.local = id
|
|
|
|
|
|
managers.foreign = site_id
|
2010-04-25 17:31:44 +00:00
|
|
|
|
managers.filter = role = 'manager'
|
2007-09-14 00:16:06 +00:00
|
|
|
|
managers.order = name asc
|
2004-01-03 17:31:28 +00:00
|
|
|
|
|
2007-09-14 00:16:06 +00:00
|
|
|
|
contributors = collection(Membership)
|
2011-02-15 18:57:15 +00:00
|
|
|
|
contributors.accessName = name
|
2007-09-14 00:16:06 +00:00
|
|
|
|
contributors.local = id
|
|
|
|
|
|
contributors.foreign = site_id
|
2010-04-25 17:31:44 +00:00
|
|
|
|
contributors.filter = role = 'contributor'
|
2007-09-14 00:16:06 +00:00
|
|
|
|
contributors.order = name asc
|
2004-01-03 17:31:28 +00:00
|
|
|
|
|
2007-09-14 00:16:06 +00:00
|
|
|
|
subscribers = collection(Membership)
|
2011-02-15 18:57:15 +00:00
|
|
|
|
subscribers.accessName = name
|
2014-07-04 15:10:47 +02:00
|
|
|
|
subscribers.local = id
|
2007-09-14 00:16:06 +00:00
|
|
|
|
subscribers.foreign = site_id
|
2010-04-25 17:31:44 +00:00
|
|
|
|
subscribers.filter = role = 'subscriber'
|
2007-09-14 00:16:06 +00:00
|
|
|
|
subscribers.order = name asc
|