Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In gigya.module line 632 elseif ($login_mode == 'raas' && $account->uid > 1) {
This means any user that's not user 1 gets blocked when they try and log in.
Feature request:
1) Add list of roles to the Gigya settings of roles that can log into the site through Drupal
2) Change code above to something that replaces my code below which is hardcoded to allow 'editor' and 'administrator' log in with the values from the Gigya settings in point 1).
elseif ($login_mode == 'raas' && !(in_array('administrator', $account->roles) || in_array('editor', $account->roles))) {
Comments
Comment #1
gambaweb CreditAttribution: gambaweb commentedadded a permission "Bypass Registration-as-a-Service" every user that has a role with that permission can login via drupal standard login
Comment #2
robcolburn CreditAttribution: robcolburn commented