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.
On current head, I get the following when trying to create a site:
You have no enabled platforms! Please add or unlock a platform before attempting to create a site.
When I go visit one of my platforms, I see I'm on the ACL list, and even if I save that page, i cannot add a site.
Comments
Comment #1
anarcat CreditAttribution: anarcat commentedokay, the problem here is that the platform access check is done on the client id, which we don't have access to in the site creation form. anyways, the check shouldn't be done on the client but on the active user. and even then: this should be done through the node_access system, ie. the grant system.
i fixed this by changing _hosting_get_allowed_platforms() to operate on a user instead of a client.