Hi Paulo,
I think I can help you.
- Navigate to Configuration > Mica to generate the certificate (If you have not configured a private file system, you will see an information message. Follow the link and set your private file system and come back to this page afterwards).
- Copy the generated certificate key.
- Log in to Opal. In Opal, you can manage permissions per "Unit" (See http://wiki.obiba.org/display/OPALDOC/Working+with+Units). Basically, you have to attach the certificate to a "Unit" and you give permissions to this unit to access certain tables.
- Click on Units and click on the "Add Unit" button. Give a name to this unit e.g. Mica
- Select the unit Mica and from the "Plus Sign" button/menu, select "Add Cryptographic Key".
- Set the name of the certificate e.g. www.mymicawebsite.org and select the "Import a certificate (usable to identify this unit)" option and click on "Next >".
- Paste the certificate that you copied from Mica and click on "Finish".
- Still in Opal, click on the "Datasources" menu, select the datasource you want to connect in Mica and select the table or view that you want.
- Select the "Permissions" tab.
- Type in the name of the unit into the "User Name" textbox and click "Add".
- Mica currently needs the permissions: "View dictionnary and summaries" and "Administrate".
- You should now be able to import from Mica.
N.B. In theory, Mica does not need to have access to the values stored in Opal to work but in the current state of our work, you still have to give the "Administrate" permission... We are currently working on the next version of Opal and Mica and this issue will be fixed. It means that Mica would only need to have access to aggregated data (and the metadata about the variables) to be able to show the statistics of a variable.
I hope it helps and don't hesitate to contact us,
P.S. May I inquire about your research project and planned usage of Mica/Opal ? You can contact me or Vincent Ferretti <
vincent....@oicr.on.ca> in private if you want.
- Etienne