filtrage config du blog
This commit is contained in:
parent
e6f75275f2
commit
174e087fc3
@ -309,8 +309,8 @@ class blog extends common {
|
||||
(
|
||||
$this->getData(['module', $this->getUrl(0), $value,'editConsent']) === self::EDIT_OWNER
|
||||
AND $this->getData(['module', $this->getUrl(0), $value,'userId']) === $this->getUser('id')
|
||||
) // Ou une autorité
|
||||
OR $this->getUser('group') > $this->getData(['module',$this->getUrl(0), $value,'editConsent'])
|
||||
AND $this->getUser('group') >= self::GROUP_EDITOR
|
||||
)
|
||||
|
||||
) OR (
|
||||
// Groupe
|
||||
|
@ -27,7 +27,6 @@
|
||||
'href' => helper::baseUrl() . $this->getUrl(0) . '/edit/' . $this->getUrl(1) . '/' . $_SESSION['csrf'],
|
||||
'value' => 'Editer'
|
||||
]); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user