Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositorySub-category in RepositorySub-category in Repository
Previous
 
Next
New Post
3/8/2011 12:50 PM
 
that is not possible with the current ( or beta ) version.
 
New Post
3/9/2011 10:26 AM
 
ok Steve, I understand.. I have another question if you dont mind:

You gave me the code to add the Security Roles in the Upload screen which is really cool.

However, when I try to log in as any other user other than as an Admin/Host the Security Roles checkboxes still appear.
Is there a way where I can hide those Security Roles if I'm logged in other than Admin or Host?

I just dont want my users to mess up system if they are allowed to choose the roles.

Hope I make sense.

thanks!
 
New Post
3/10/2011 9:14 AM
 
yep, makes perfect sense.  You can add a "Roles" setting to any token in the associated xml file.

So to hide the [SECURITYROLES] token output from non-administrators, open the form.xml file, file (or create) the [SECURITYROLES] token and add a Roles settings and set the value to Administrators

ie:

<Object>
    <Token>[SECURITYROLES]</Token>
        <Settings>
            <Setting>
                <Name>Roles</Name>
                <Value>Administrators</Value>
            </Setting>
        </Settings>
</Object>

Now only administrators will see the security roles check boxes


 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositorySub-category in RepositorySub-category in Repository


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out