Oper
Posts: 1195
|
| Posted: 05/17/2004, 12:28 PM |
|
Best way to acomplish this:
* i have setup a security form
* security has like 5 group security
but i want be able to user not logged can insert record.
- I could force a groupid Default for guest
- I could use a form for insert only when none logged
- i could rip the Grey Text.
Peteror anyone what do you suggest?
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)
http://www.PremiumWebTemplate.com
Affiliation Web Site Templates
Please do backup first |
 |
 |
Oper
Posts: 1195
|
| Posted: 05/18/2004, 10:27 AM |
|
any idea anyone?
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)
http://www.PremiumWebTemplate.com
Affiliation Web Site Templates
Please do backup first |
 |
 |
peterr
Posts: 5971
|
| Posted: 05/18/2004, 11:05 AM |
|
If no one responds you may want to contact CCS support.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
Tony Do
|
| Posted: 05/18/2004, 4:48 PM |
|
I would have a page for insert only, and then have no security at all on
that page
Which means everyone can insert new record from that page
Further more (for securiry reason) you can have a statement like this in the
before show event of the record form
If EventCaller.EditMode Then
If (Session("GroupID") = empty) Then
' a guest user in edit mode
EventCaller.visible = false
Response.write "You are not authorised to view this page."
Response.end
End If
End If
|
|
|
 |
Oper
Posts: 1195
|
| Posted: 05/19/2004, 8:21 AM |
|
Look like best way is to create a Guest User, and for anyone not logued in, just assign the Guest User Rights.
* will work with just 1 page
* More Profesional too.
Cant use simple coparition for groupid cuase There are few level of supervisor some can delete other edit other just view, tec.
i tested both model and GUEST user is perfect cuase open so many ideas and solution. Asign different right on the project(not just 1 page). So guest user WON...
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)
http://www.PremiumWebTemplate.com
Affiliation Web Site Templates
Please do backup first |
 |
 |
Tony Do
|
| Posted: 05/19/2004, 4:57 PM |
|
My suggestion work the same that is only one page is needed and you don't
need to create a guest user.
The page you created is normal with no security setting on the page.
You just suppress the record Form when the user is not loggin
(session("GroupID") = empty) and in the edit mode
"Oper" <Oper@forum.codecharge> wrote in message
news:640ab7b8c95304@news.codecharge.com...
> Look like best way is to create a Guest User, and for anyone not logued
in, just
> assign the Guest User Rights.
>
> * will work with just 1 page
> * More Profesional too.
>
> Cant use simple coparition for groupid cuase There are few level of
supervisor
> some can delete other edit other just view, tec.
>
> i tested both model and GUEST user is perfect cuase open so many ideas and
> solution. Asign different right on the project(not just 1 page). So guest
user
> WON...
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |