improbable_airtime
Member
We are developing an application along side our forums and we want to be able to grant people user-groups based on actions they do in our application. E.g if they purchase something, exceed some milestones in our application, etc...
What is the best way for us to do this? We were ideally hoping with the introduction of the REST API we could just send a post & delete request to the endpoint to add/remove user-groups, but seems like that doesn't work and the documentation for that section is currently incomplete.
Is this likely to ever be possible for the REST API, or are we better off developing our own plugin? (We did take a look into the plugin route but the internal code of adding/removing groups seems a bit nonsensical, requiring that you add a group and assign it a unique ID and then only being able to "undo" that rather than removing it from a body property. Overall this method doesn't suit our purpose very well so we'd like to explore other options before having to change fundamental parts of our application to accomodate this slightly unintuitive system.)
Any help is appreciated.
What is the best way for us to do this? We were ideally hoping with the introduction of the REST API we could just send a post & delete request to the endpoint to add/remove user-groups, but seems like that doesn't work and the documentation for that section is currently incomplete.
Is this likely to ever be possible for the REST API, or are we better off developing our own plugin? (We did take a look into the plugin route but the internal code of adding/removing groups seems a bit nonsensical, requiring that you add a group and assign it a unique ID and then only being able to "undo" that rather than removing it from a body property. Overall this method doesn't suit our purpose very well so we'd like to explore other options before having to change fundamental parts of our application to accomodate this slightly unintuitive system.)
Any help is appreciated.