Download & Extend

Option to show required roles in restricted content message

Project:Restricted content
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

When users are registered but don't have access to content, it'd be really handy to show a message showing which roles are required in order to be able to view it. This might need to be a configuration option for sites which don't want to expose role names.

Comments

#1

Status:active» needs review

Did this by extending the token support. Here's a patch.

AttachmentSize
restricted_content_role_names_441406.patch 3.18 KB
nobody click here