How To Incorporate "Role Sensitive" "Include" Files Into 20/20 DataShed's Pages

For this exercise, We will explain how to create a button in 20/20 DataShed's admin pages which only administrators can see.

The Goal

To add a button to the administrative pages in 20/20 DataShed which only the administrators can see.

Background Information

  1. If you have not read this page: How To Incorporate "Include" Files Into 20/20 DataShed's Pages, then do so now. This tutorial builds on that concept.
  2. As well, 20/20 DataShed secures its features using roles and permissions. More information about role-based security can be found in the article called Role Based Security in 20/20 DataShed

Let's Get Started...

In this tutorial, we will perform the following actions:

  1. Create a new .asp page that 20/20 DataShed (or any other ASP page/product) can execute. The new script will output a simple button. The button produced by this plug-in will be viewable only to users in a specific role (as defined by the permissions inherent in 20/20 DataShed).
  2. Explanation of the code in this basic example.
  3. Edit the admin_template.html to instruct 20/20 DataShed when/where to execute the new ASP script.
  4. Update the CSS (An optional step).

Related topics


© 2005 - 2007 20/20 Applications. All rights reserved.