You are here

README.txt in Views Published or Roles 7

Same filename and directory in other branches
  1. 8 README.txt
CONTENTS OF THIS FILE
---------------------

 * Introduction
 * Requirements
 * Installation
 * Configuration
 * Maintainers


INTRODUCTION
------------

This Views Published or Roles module allows you to add a filter to a view to display Published or by a Role. In a perfect world you can add the Bypass content access control permission to a role but most of time you may not want to give certain roles that permission.

In my scenario I have the View Unpublished Module installed and I want a certain role to only be able to view unpublished nodes for one node type.


REQUIREMENTS
------------

The Views Published or Roles module requires the following modules:
  * Views (https://www.drupal.org/project/views)


INSTALLATION
------------
Install as you would normally install a contributed Drupal module. See:
   https://drupal.org/documentation/install/modules-themes/modules-7
   for further information.


CONFIGURATION
-------------
1. Create your view as you would normally view.
2. Under Filter Criteria select Add
3. Navigate to (Or Search) for: Content: Published or has role
4. Select Role(s)
5. Apply
6. Sometimes your view may give your a Content: Published filter. You should
   remove that filter.


MAINTAINERS
-----------
Current maintainers:
 * Albert Jankowski (albertski) - https://www.drupal.org/u/albertski

File

README.txt
View source
  1. CONTENTS OF THIS FILE
  2. ---------------------
  3. * Introduction
  4. * Requirements
  5. * Installation
  6. * Configuration
  7. * Maintainers
  8. INTRODUCTION
  9. ------------
  10. This Views Published or Roles module allows you to add a filter to a view to display Published or by a Role. In a perfect world you can add the Bypass content access control permission to a role but most of time you may not want to give certain roles that permission.
  11. In my scenario I have the View Unpublished Module installed and I want a certain role to only be able to view unpublished nodes for one node type.
  12. REQUIREMENTS
  13. ------------
  14. The Views Published or Roles module requires the following modules:
  15. * Views (https://www.drupal.org/project/views)
  16. INSTALLATION
  17. ------------
  18. Install as you would normally install a contributed Drupal module. See:
  19. https://drupal.org/documentation/install/modules-themes/modules-7
  20. for further information.
  21. CONFIGURATION
  22. -------------
  23. 1. Create your view as you would normally view.
  24. 2. Under Filter Criteria select Add
  25. 3. Navigate to (Or Search) for: Content: Published or has role
  26. 4. Select Role(s)
  27. 5. Apply
  28. 6. Sometimes your view may give your a Content: Published filter. You should
  29. remove that filter.
  30. MAINTAINERS
  31. -----------
  32. Current maintainers:
  33. * Albert Jankowski (albertski) - https://www.drupal.org/u/albertski