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

anarcat’s picture

Status: Active » Fixed

okay, 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 2330ce1 on 6.x-2.x, 7.x-3.x, dev-ssl-ip-allocation-refactor, dev-sni, dev-helmo-3.x by anarcat:
    #725898 fix access controls for platforms on the site node
    
  • Commit 329667d on 6.x-2.x, 7.x-3.x, dev-ssl-ip-allocation-refactor, dev-sni, dev-helmo-3.x by anarcat:
    #725898 fix access controls for platforms on the site node
    

  • Commit 2330ce1 on 6.x-2.x, 7.x-3.x, dev-ssl-ip-allocation-refactor, dev-sni, dev-helmo-3.x by anarcat:
    #725898 fix access controls for platforms on the site node
    
  • Commit 329667d on 6.x-2.x, 7.x-3.x, dev-ssl-ip-allocation-refactor, dev-sni, dev-helmo-3.x by anarcat:
    #725898 fix access controls for platforms on the site node