NetTalk Central

Author Topic: ClarionLive NetTalk User Group Meeting - Login and Access Levels  (Read 2946 times)

Johan van Zyl

  • Full Member
  • ***
  • Posts: 180
  • jvz
    • View Profile
    • Email
Hi All,

Suggested topic:

Login and Access Levels (not using SecWin)

On login Form:
If already registered - then just login.
If not registered - button or link to go to Register Form,
supply First Name, Last Name, email address and mobile number.
A OTP (One time password) will be sent to both? email address and mobile number - OTP must be entered on Registration Form - and then the user can be Registered.
I would like if possible that the email address AND mobile number to be validated before registration is allowed.

Tables: Users and UserGroups
Users may be in many groups - access to Browse/Forms will be restricted on certain criteria.
A User be a Locum and if he is only registered as a locum in UeerGroups he may only edit his own data in Locums table.
But he may also be the Responsible Pharmacist linked to a certain pharmacy - then he will be allowed to edit the pharmacy data in Pharmacies table as well. etc. etc.


Thx!

« Last Edit: January 07, 2014, 11:34:43 AM by Johan van Zyl »
Johan van Zyl
Clarion 6.3 9058/C8 Gold/SQL/NetTalk WebServer

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: ClarionLive NetTalk User Group Meeting - Login and Access Levels
« Reply #1 on: January 07, 2014, 10:14:53 PM »
Hi Johan,

Thanks for the suggestion. I think I should point out though that the goal of the user groups will not be to write people's code for them. In that spirit a short discussion on the Access Level features has merit - but ultimately you'll be implementing the code in your app yourself.

that said;

I think our Forum Software has a similar sign-up approach, but each person will do it slightly differently.  You start with a simple NetWebForm then the actions you're wanting are really very straight-forward, and I'm sure you don't need me to do them.

>> I would like if possible that the email address AND mobile number to be validated before registration is allowed.

I am not aware of any technique for validating either a mail address or mobile phone number other than by using the address or number and requiring the user to reply.

For access control, like user groups and so on, Secwin is recommended. Certainly implementing Secwin-like behavior is probably outside the scope of what we have in mind for the NetTalk User Groups. That would take months of webinars to do - there are lots and lots of things to consider.

For basic logins though you can make use of the examples, plus of course you can give an "access level" to any user, and you can set procedures to require an access level, and you can filter your browses based on access level.

cheers
Bruce