Method Catalogue Overview - Data Control
To use the Data Control plugins (either the supplied plugins or ones you have written yourself using the API), you need to configure the method catalogue in SuperADMIN.
A "method" is simply a configurable group of Data Control plugins that can be applied to a database. When a cross tabulation is performed on any database that the method is applied to, that group of plugins will be applied to the table results.
The following is a summary of the steps required to create and apply a method:
Use the SuperADMIN
method
command to create a new method.You will need to specify a unique ID and choose whether the method is a mandatory method (applied to the database by default) or a table method (users with appropriate permissions can choose whether to apply this type of method in SuperCROSS).
You can apply any number of mandatory methods to a given database, but only a maximum of one table method per database.
Assign one or more data control plugins to the method.
You will need to specify which dynamic library (DLL) contains the plugin (this must be in the same directory as the SuperSERVER executable), give it a name and ID, and set the priority (this determines what order the plugins are executed in; the lowest priority plugins are executed first).
Set values for any properties defined in the external plugins.
There are two types of property:
- Common properties - these apply to all the plugins within this method.
- Specific properties - these are specific to the individual plugins.
- Assign the method to all the databases you want it to apply to (using the SuperADMIN
cat
command). - (Optionally) configure permissions:
- Authorise groups or users to select table methods in SuperCROSS.
- Authorise groups or users to disable methods in SuperCROSS.
- Test that the methods work: log in to SuperCROSS as an administrator and test the methods by creating a table and using the Confidentiality icon to toggle confidentiality on and off.
Learn More
For a worked example of adding Data Control plugins, see the following sections: