Skip to content

Drupal 7 module checks if a user account is in a list in a file, and adjusts the user's roles accordingly

Notifications You must be signed in to change notification settings

ryan-l-robinson/drupal-permissions-from-file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Drupal Permissions from File

This Drupal 7 module checks if a user account is in a list in a file, and adjusts the user's roles accordingly.

This was a specific custom build for a site, not designed to be generalized and installable on any site. There is no configurable settings page.

For this to work, you would need to:

  1. Have a role on the site called 'test role'.
  2. Have a file in the specified position /var/usernames/roleusernames.csv and formatted with one line per username.

About

Drupal 7 module checks if a user account is in a list in a file, and adjusts the user's roles accordingly

Topics

Resources

Stars

Watchers

Forks