Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/p/l/plonehrm.absence-1.5/plonehrm/absence/browser/absence.py   plonehrm.absence(Download)
    def can_add_absences(self):
        return self.checkPermission('plonehrm: Add absence', self.context)
 
    def can_edit_absences(self):
        return self.checkPermission('plonehrm: Modify absence', self.context)
 
    def can_close_absences(self):
        return self.checkPermission('plonehrm: close absence', self.context)