Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Menu and Security » Adding membership subscription functionality to RBAC
Adding membership subscription functionality to RBAC [message #680] Sat, 17 March 2007 03:08 Go to next message
teacake is currently offline  teacake
Messages: 4
Registered: March 2007
Location: Surrey
Junior Member
Hi Tony et.al.

I hope this is the right area for this post, apologies in advance if not.

I would like to be able to have users signup for there own account with a predetermined role on a subscription basis.

I would like to be able to give them a URL which anyone can go to so that they can subscribe. Visitor would specify their name, email, chosen password etc. as well as provide setting up subscription details via PayPal.

What issues do I need to consider within the Framework, and how can I manage their user accounts so that if subscription fail their account becomes restricted etc.

Would it be best for me to manage all of this using an external third-party subscription management system which amends the mnu_user explicitly. Or is this something which I could/should try to incorporate into the RBAC?

Any guidance would be greatly appreciated.

Best regards

Henry

Re: Adding membership subscription functionality to RBAC [message #681 is a reply to message #680] Sat, 17 March 2007 05:24 Go to previous message
AJM is currently offline  AJM
Messages: 2297
Registered: April 2006
Location: Surrey, UK
Senior Member
This is outside the scope of the RBAC system as it requires the ability to update the database without first logging on. In also requires additional subscription details which are not held on the RBAC database.

As it is a single function which relates to a particular end-user application it should be written as an application function and not automatically provided by the framework. You will need to provide a screen on your website which can be run by anyone (i.e. does not check that the current page is authorised to the current user). It may then update the MNU_USER table as well your subscription info table.

You can still use the Radicore database table classes to access the database, but you will need a different presentation layer. This is documented in Using Radicore components in a front-end website.


[Updated on: Thu, 04 June 2009 07:24]

Report message to a moderator

Previous Topic: hiding control.inc database connection details
Next Topic: Task-Field Access::NODISPLAY
Goto Forum:
  


Current Time: Wed May 18 06:19:54 EDT 2022

Total time taken to generate the page: 0.02276 seconds