RepositoryKeys

This commit is contained in:
Vincent Jacques
2012-03-04 09:12:57 +00:00
parent 629668beae
commit 827dc06d10
2 changed files with 13 additions and 2 deletions
+2 -2
View File
@@ -409,9 +409,9 @@ Repository._addAttributePolicy(
)
Repository._addAttributePolicy( SeveralAttributePolicies( [
ExternalListOfObjects( "keys", "key", RepositoryKey,
ListGetable( [], [] ),
ListGetable( [], [], __modifyAttributesForObjectsReferingRepo ),
ElementGetable( [ "id" ], [], __modifyAttributesForObjectsReferingRepo ),
ElementCreatable( [ "title", "key" ], [] ),
ElementCreatable( [ "title", "key" ], [], __modifyAttributesForObjectsReferingRepo ),
),
ExternalListOfObjects( "collaborators", "collaborator", NamedUser,
ListGetable( [], [] ),