Skip to content
Snippets Groups Projects
Commit 958fb833 authored by llaffont's avatar llaffont
Browse files

Les utiliseurs avec le droit "accès configuration depuis le portail" on le...

Les utiliseurs avec le droit "accès configuration depuis le portail" on le bouton d'édition des articles visible
parent 9f884c93
Branches
Tags
No related merge requests found
......@@ -394,6 +394,9 @@ class Class_Users extends Storm_Model_Abstract {
if (!$article->hasCategorie())
return false;
if ($this->hasRightConfigFront() && !$article->getCategorie()->getIdSite())
return true;
return ($this->getIdSite() == $article->getCategorie()->getIdSite());
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment