Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ryan-l-robinson/drupal-9-permissions-from-file

Drupal 9 version of https://github.com/ryan-l-robinson/drupal-permissions-from-file
https://github.com/ryan-l-robinson/drupal-9-permissions-from-file

Last synced: 3 days ago
JSON representation

Drupal 9 version of https://github.com/ryan-l-robinson/drupal-permissions-from-file

Awesome Lists containing this project

README

        

This is a sample custom module for a simple scenario of adding a role to a user when they log in if their name appears in a file on the server. Make sure you protect the file with the usernames.

[Further explanation for this can be found here](/websites/drupal/drupal-assign-permissions-based-on-username-file/).

[Drupal 7 version of the code can be found here](https://github.com/ryan-l-robinson/drupal-permissions-from-file).