コード例 #1
0
 def is_public_forced(self):
     return self.is_public() and \
       config.user_may(self.owner(), "general.force_" + self.type_name())
コード例 #2
0
ファイル: pagetypes.py プロジェクト: NeilBryant/check_mk
 def is_public_forced(self):
     return self.is_public() and config.user_may(self.owner(), "general.force_" + self.type_name())
コード例 #3
0
 def is_public(self):
     return self._["public"] and (not self.owner() or config.user_may(
         self.owner(), "general.publish_" + self.type_name()))
コード例 #4
0
ファイル: pagetypes.py プロジェクト: NeilBryant/check_mk
 def is_public(self):
     return self._["public"] and (
         not self.owner() or config.user_may(self.owner(), "general.publish_" + self.type_name())
     )