DemocracyOS / core

1 stars 1 forks source link

Adding permissions to the community & Updates the Document API and DB-API so they support the versions of the documentss #61

Closed guillecro closed 6 years ago

guillecro commented 6 years ago

Updated some db-apis so it appends the current version of the document.

Also this PR adds permissions field to the community model. Now the community is the one who defines the permissions by role, so this is abstracted from keycloak. This is handy cause now we can define things and change it without needing the logic by keycloak (if not, we needed to create custom mappers and that is a bit stressing to deal with)

Also some init script fixes