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
|
$this->getData(['module', $this->getUrl(0), $value,'editConsent']) === self::EDIT_OWNER
|
||||||
AND $this->getData(['module', $this->getUrl(0), $value,'userId']) === $this->getUser('id')
|
AND $this->getData(['module', $this->getUrl(0), $value,'userId']) === $this->getUser('id')
|
||||||
) // Ou une autorité
|
AND $this->getUser('group') >= self::GROUP_EDITOR
|
||||||
OR $this->getUser('group') > $this->getData(['module',$this->getUrl(0), $value,'editConsent'])
|
)
|
||||||
|
|
||||||
) OR (
|
) OR (
|
||||||
// Groupe
|
// Groupe
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
'href' => helper::baseUrl() . $this->getUrl(0) . '/edit/' . $this->getUrl(1) . '/' . $_SESSION['csrf'],
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/edit/' . $this->getUrl(1) . '/' . $_SESSION['csrf'],
|
||||||
'value' => 'Editer'
|
'value' => 'Editer'
|
||||||
]); ?>
|
]); ?>
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user