Commit 17fbf823 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Reduction du namespace des privilèges en retirant les \Provider\Privilege

parent 369b7afb
Pipeline #9697 passed with stage
in 50 seconds
Journal des modifications
=========================
0.0.1 (12/03/2021)
-----
Version initiale du module permettant :
- la gestion des privilèges
- l'affectation des privilèges à des rôles
......@@ -46,7 +46,10 @@ $canAffecter = $this->isAllowed(PrivilegePrivileges::getResourceId(PrivilegePriv
<?php foreach ($namespaces as $key => $nprivileges) : ?>
<?php $key = ($key)?:"Sans_Namespace"; ?>
<a class="btn btn-info action toggle" id="<?php echo $key; ?>">
<?php echo $key; ?>
<?php
$key = str_replace('\Provider\Privilege','',$key);
echo $key;
?>
</a>
<?php endforeach; ?>
......
Markdown is supported
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