<cfset stSecurityMatrix = StructNew()>
<cfoutput query="getUserFunctions" group="User">
        <cfset structInsert(stSecurityMatrix, User, StructNew()>
                <cfoutput group="asset">
                        <cfset StructInsert(stSecurityMatrix[User], asset, 
StructNew()>
                                <cfoutput>
                                        <cfset 
StructInsert(stSecurityMatrix[User][asset], Function, "true")>
                                </cfoutput>
                
                </cfoutput>
</cfoutput>

On 8/7/06, David S. Neuman <[EMAIL PROTECTED]> wrote:
> I'm still having issues trying to set up my security matrix.  I know I
> should put the information in a structure.  But how do you populate it
> with data that is directly related?  For example, as I mentioned in a
> previous post, we have each section of the site divided into assets.
> For each asset, a user gets a number of functions.  For each asset, a
> specific user could have one or more functions.
>
>
>
> USER1                   ASSET                    FUNCTION
>
>                                 A                             Add
>
>                                 A                             Delete
>
>                                 A                             Edit
>
>                                 B                             Add
>
>                                 C                             Add
>
>                                 C                             Delete
>
>
>
> I'm not exactly sure how to populate the structure correctly with this
> type of data.
>
>
>
> Any help would be appreciated.
>
>
>
> Thanks.
> --------------------------------------------------------
>
>
> David S. Neuman
> Developer
> 2081 Industrial Blvd
> StillwaterMN55082
> mail: [EMAIL PROTECTED]
> www: http://www.ejhassociates.com
> tel: 651.717.4106
> fax: 651.717.4116
> mob: 952.239.3990
>
> --------------------------------------------------------
>
> This message contains confidential information and is intended only for 
> [EMAIL PROTECTED] If you are not [email protected] you should not 
> disseminate, distribute or copy this e-mail. Please notify [EMAIL PROTECTED] 
> immediately by e-mail if you have received this e-mail by mistake and delete 
> this e-mail from your system. E-mail transmission cannot be guaranteed to be 
> secure or error-free as information could be intercepted, corrupted, lost, 
> destroyed, arrive late or incomplete, or contain viruses. David S. Neuman 
> therefore does not accept liability for any errors or omissions in the 
> contents of this message, which arise as a result of e-mail transmission. If 
> verification is required please request a hard-copy version.
> --------------------------------------------------------
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:249015
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to