def testAddAclAdminOnly(self):
        self.openRepository()
        repos = self.getRepositoryClient(
                user='anonymous', password='anonymous')
        self.assertRaises(errors.InsufficientPermission, repos.addAcl,
                'localhost', 'anonymous', '.*', 'ALL', False, False)
Regression test for a previous unprivileged permission creation
dataset/ETHPy150Open sassoftware/conary/conary_test/repositorytest/netrepostest/netservertest.py/NetServerTest.testAddAclAdminOnly