shimaore / ccnq3

ISP VoIP (SIP) softswitch platform
https://shimaore.github.io/ccnq4/
GNU General Public License v3.0
13 stars 8 forks source link

Split portal #38

Closed shimaore closed 11 years ago

shimaore commented 11 years ago

Goal: Split out code that is not API in a separate project. This includes portal, web, inbox, public, and all usercode couchapps.

Rationale:

I suspect the roles piece might be able to move as well. Need to check whether voicemail and host can live without it. (Search for update:, access:, etc.)

The base API is therefor:

Some steps to get there:

shimaore commented 11 years ago

Also need to differentiate between "roles as provided by CouchDB" (these can still be used nonetheless) and "roles as managed in the portal", which were designed with a specific purpose (esp. account-related authorization) and should move out. For example the code in applications/roles/zappa/traces.coffee should move to the couchdb_daemon API, but its reliance on data found in the requesting user's roles is fine. (Ideally this operation should be requested via AMQP, anyway.)

shimaore commented 11 years ago

Done, see https://github.com/shimaore/ccnq3-web