Introduction
SeisFinder versions, releases and access control
Depending on the user class, a user may have different level of access to data and feature.
User class
1 - Internal, 2 - Affiliates, 3 - Public
Data Access
SeisFinder CLI has an extra switch "--access-level = 1 (2, 3)" where this switch and the cybershake version (eg. 18p6) are used to look up the dictionary (maybe HDF5 format) that tells the regions of allowed access. When a user executes SeisFinder from the web interface, based on the user class, this "--access-level= X" will be added to construct the CLI command.
Feature Access
SeisFinder CLI have all the features (plus their detailed options) configurable through arguments. We will have a dictionary of features and its access-level. When the web interface is rendering a user input page, it will check the user class, and based on the feature dictionary, it will determine whether it should make a specific feature editable by the user. If the user doesn't have the enough privilege, the web interface will not display the input field, instead will print the default value for the feature. (the default value is also kept in the feature dictionary).