Hi everyone, the new version of openwisp2 will bring multi-tenancy, that is, separation of users in "organizations", like github does.
Each object will be related to an organization. Some objects (templates, VPN servers, CAs and certificates) may allow to have no organization, in that case it will mean that those objects are "shared", that is, every other organization will be able to see them and use them, but not modify them. This feature can be used to avoid repetition of certain objects for each organization. There are also other small novelties, but I don't have time to list them all right now, if you are interested you can try the new system by yourself and ask questions on this thread (that will also help me to write release notes and documentation for this new feature, as I will reuse my answers to write those). *You have to pay attention though, please read the following line carefully:* Do not run the unreleased playbook that I'm going to explain in the following lines on a production instance or you will break your existing instance. Try it on a new VM, a new linux container or whatever you like, but consider it a new instance that you are using just to play with this new feature. I will have to include a migration step in the ansible-openwisp2 role in order to allow migration of existing instances, but I haven't made it to do this yet (I don't even know how to do this, it will be an interesting challenge). To try the new feature, you have to use the multi-tenancy branch of ansible-openwisp2. You could do something like: sudo ansible-galaxy remove openwisp.openwisp2 sudo ansible-galaxy install https://github.com/openwisp/ansible-openwisp2/tarball/multi-tenancy sudo mv /etc/ansible/roles/multi-tenancy/ /etc/ansible/roles/openwisp.openwisp2 Then use a playbook like the following: - hosts: test become: true roles: - openwisp.openwisp2 vars: postfix_myhostname: "localhost" # put this line only if you are using an ip address in your inventory openwisp2_controller_dev: true openwisp2_users_dev: true openwisp2_netjsonconfig_dev: true I hope to release this feature next week. Federico -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
