Skip to content
Snippets Groups Projects
Select Git revision
  • 4.7.x-1.x
  • 7.x-1.x default
  • 5.x-1.x
  • 6.x-1.x
  • master
  • 6.x-1.1
  • 6.x-1.0
7 results

restricted_text

  • Open with
  • Download source code
  • Your workspaces

      A workspace is a virtual sandbox environment for your code in GitLab.

      No agents available to create workspaces. Please consult Workspaces documentation for troubleshooting.

  • user avatar
    The Great Git Migration authored and Drupal Git User (LDAP) committed
    6f29638f
    History
    Name Last commit Last update
    CHANGELOG.txt
    README.txt
    restricted_text.module
    The restricted_text module provides an input filter allowing authors
    to restrict some parts of their text to users with certain roles.
    
    Users can insert [restrict:roles=<comma-separated roles>] and [/restrict]
    tags into their text, and anything in-between these will only be visible
    to users who are a member of a role in the comma-separated list.  Don't
    separate with ', ' (ie, a comma and a space), this version isn't robust
    enough to handle that.
    
    As a short-cut for the most common case, [restrict] is equivalent
    to [restrict:roles=authenticated user].
    
    This module was developed for the MGH Biostatistics Center.
    Please send any questions / comments / suggestions to
        remorse@partners.org
    or use the projects interface at Drupal.org.