aptible / dashboard.aptible.com

DEPRECATED - Ember.js dashboard for the Aptible PaaS
https://dashboard.aptible.com
MIT License
81 stars 35 forks source link

Reload app on invitation accept #755

Closed krallin closed 7 years ago

krallin commented 7 years ago

We cache organization permissions when loading the authorization service, but when accepting an invitation, the user's permissions are going to change.

We'd need to either invalidate the cached permissions, or invalidate everything. This patch does the latter in the interest of un-breaking accepting invitations, but the former might be a much cleaner approach.

cc @sandersonet @fancyremarker - as explained in Slack, I'm going to roll this out to un-break accepting invitations. I'm totally fine with reverting this or replacing it with a better fix.

krallin commented 7 years ago

Build failed on unrelated tests that have flaked out before - merging.