marqué un truc que je ne comprends pas
This commit is contained in:
parent
2a6abad4cb
commit
9f0f0321b7
|
@ -201,6 +201,7 @@ class ArticlesServer(ArticlesCommonMixin, ObjectsServer):
|
||||||
virtualServerId = context.getVar('applicationId')
|
virtualServerId = context.getVar('applicationId')
|
||||||
virtualServer = self.getVirtualServer(virtualServerId)
|
virtualServer = self.getVirtualServer(virtualServerId)
|
||||||
object = commonTools.importThing(objectImport)
|
object = commonTools.importThing(objectImport)
|
||||||
|
# FIXME: I'd better understand this test
|
||||||
if not self.canAddObject() or (
|
if not self.canAddObject() or (
|
||||||
not self.isAdmin() and not (
|
not self.isAdmin() and not (
|
||||||
getProxyForServerRole('identities').setContainsUser(
|
getProxyForServerRole('identities').setContainsUser(
|
||||||
|
|
Reference in New Issue