Made it so that admins or moderators only would see the feature_management_panel
link if they have the featurer privilege
This commit is contained in:
parent
2e76016c9a
commit
03766fd870
@ -15,7 +15,10 @@
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#}
|
||||
{% if request.user and
|
||||
request.user.has_privilege('featurer') %}
|
||||
·
|
||||
<a href="{{ request.urlgen('manage-featured-media') }}">
|
||||
{%- trans %}Feature management panel{% endtrans -%}
|
||||
</a>
|
||||
{% endif %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user