macamba
Posts: 2
|
| Posted: 04/06/2006, 6:04 AM |
|
Has anyone experience with moving the Security Mechanism of Codecharge to a database?
So instead of setting the security level hardcoded in the page. The page should check it's security in a table. In a nutshell I imagine the following:
Table: User
Fields: UserID GroupID User
Table: Group
Fields: GroupID GroupName
Table: PageSecurity
Fields: PageID GroupID PageName Restriced (y|n)
Optional:
Table: FormSecurity
Fields: FormID GroupID PageID FormName Create Read Update Delete
Anyone an idea if this is hard to realize?
Regards,
Roy
|
 |
 |
WKempees
|
| Posted: 04/06/2006, 6:33 AM |
|
is default functionality.
Read the manual and in Project setting security checkout the available
option Table, field and so on.
"macamba" <macamba@forum.codecharge> schreef in bericht
news:2443511e69f639@news.codecharge.com...
> Has anyone experience with moving the Security Mechanism of Codecharge to
> a
> database?
>
> So instead of setting the security level hardcoded in the page. The page
> should
> check it's security in a table. In a nutshell I imagine the following:
>
> Table: User
> Fields: UserID GroupID User
>
> Table: Group
> Fields: GroupID GroupName
>
> Table: PageSecurity
> Fields: PageID GroupID PageName Restriced (y|n)
>
> Optional:
> Table: FormSecurity
> Fields: FormID GroupID PageID FormName Create Read Update Delete
>
> Anyone an idea if this is hard to realize?
>
> Regards,
>
> Roy
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
Roy Samson
|
| Posted: 04/14/2006, 6:46 AM |
|
I don't think it's default functionality.
Have you read above post exactly.
With the default functionality. Your hard code the access level in the page!
I want to put the access level per page in the database.
Regards,
Roy
|
|
|
 |
WKempees
|
| Posted: 04/14/2006, 9:21 AM |
|
Sorry but you are right.
I just answered to quickly.
But it wouldn't be that hard to realize.
Your table layout looks basically ok.
You would create a small function checking the userrights against the
pagename,
stuff that in the header and include the header in each page.
Walter
<RoySamson@forum.codecharge (Roy Samson)> schreef in bericht
news:2443fa7ad63470@news.codecharge.com...
>I don't think it's default functionality.
> Have you read above post exactly.
>
> With the default functionality. Your hard code the access level in the
> page!
> I want to put the access level per page in the database.
>
> Regards,
>
> Roy
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
Vasiliy
Posts: 378
|
| Posted: 04/14/2006, 10:07 PM |
|
Did something similar a while ago. See demo: http://www.eazyclaims.com/Main_Tour.asp?TourID=10
_________________
Vasiliy |
 |
 |
Odin
Posts: 17
|
| Posted: 05/29/2006, 5:36 AM |
|
Hi all,
@Vasiliy
Quote Vasiliy:
Can you explain, how does it works. I'm searching for such a solution since a long time.
THX
|
 |
 |