Changes between Version 7 and Version 8 of tap


Ignore:
Timestamp:
Mar 5, 2015 1:52:54 PM (7 years ago)
Author:
vegasm
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • tap

    v7 v8  
    4343
    4444
    45 == Thredds and TAP deployment ==
     45=== Thredds and TAP deployment ===
    4646
    4747The last part of this tutorial is manage to start both applications successfully. Move both thredds.war and tap.war to $CATALINA_HOME/webapps. Start the Tomcat instance and the Derby network instance.
     
    5555-       Dataset restriction using TDS Catalog: most commonly used by adding an attribute on a dataset or datasetScan element in the TDS catalog. Eg, restrictAccess=”roleName”
    5656
    57 If you set the mentioned attribute in a Dataset, users need two roles to access it: restrictedDatasetUser and roleName. That means, every user who wants to access to a dataset needs the restrictedDatasetUser role by default and also the role of the dataset. Here is where TAP does the job for you.
     57If you set the mentioned attribute in a Dataset, users need two roles to access it: restrictedDatasetUser and roleName. That means, every user who wants to access to a restricted dataset needs the restrictedDatasetUser role by default and also the role of the dataset. Here is where TAP does the job for you.
    5858
    5959== Initial TAP setup ==
    6060
     61Before deploying TAP you need to configure some files in order to adapt it for your needs.
    6162
     63WEB_INF/classes/global_variables.properties
     64
     65{{{
     66recaptcha.verificationurl = http://www.google.com/recaptcha/api/verify
     67recaptcha.privatekey = HASH_VALUE
     68recaptcha.publickey = HASH_VALUE
     69
     70tap.baseurl = DEPLOYMENT_URL #For example: http://meteo.unican.es/tap
     71tap.managers.email = admin@host.com, manager@host.com #People aware when users join groups
     72tap.email.noreply = no-reply@your_host.com
     73tap.email.admin = admin@host.com
     74tap.filter.groups = TAP_USER,TAP_ADMIN #Invisible in TAP Groups
     75}}}
     76
     77You need to create a recaptcha https://www.google.com/recaptcha/admin#list and set both private and public keys in the file. You also need to set your base url like localhost:8080/tap, the managers emails which allow people to keep in touch of the group events (when user wants to join a group, etc)
     78
     79WEB-INF/classes/mail.properties
     80{{{
     81mail.port = port_number
     82mail.host = email_host
     83}}}
     84
     85
     86You can change the email templates optionally in WEB-INF/classes/templates
     87
     88You can change the messages optionally in WEB-INF/classes/locale/messages.properties
     89
     90== First steps in TAP ==
     91
     92When the initial setup is finished TAP is ready to register users, send confirmation emails, let people join groups, etc. With your preconfigured TAP there is a Derby db with demo data. If you have deployed successfully both Thredds and TAP and they are running, go to http://yourhost/tap and log in with the following credentials:
     93{{{
     94username: admin
     95password: adm!n
     96}}}
     97
     98You will find new admin options in the main menu. From there you can control users, roles, groups, dataset policies and send messages to your users or a set of them.
     99
     100=== System users ===
     101
     102{{{#!th
     103[[Image(image-20150305-132552.png, 100%, left, margin-right=30)]]
     104}}}
     105{{{#!td
     106
     107Operations:
     108  1. '''User roles:''' Add or remove user roles directly.
     109  1. '''User groups:''' Add or remove user groups direcly (Some requires user acceptance)
     110  1. '''Edit record:''' Edit user details.
     111  1. '''Delete record:''' Remove a user from the app and the relations with roles and groups.
     112}}}
     113
     114
     115=== System groups ===
     116
     117{{{#!th
     118[[Image(image-20150305-132632.png, 100%, left, margin-right=30)]]
     119}}}
     120{{{#!td
     121
     122Operations:
     123  1. '''Group roles:''' Add or remove roles from the group.
     124  1. '''Edit record:''' Edit group details.
     125  1. '''Delete record:''' Remove a group from the app and the relations with roles and users.
     126}}}
     127
     128=== System roles ===
     129
     130{{{#!th
     131[[Image(image-20150305-132700.png, 100%, left, margin-right=30)]]
     132}}}
     133{{{#!td
     134
     135Operations:
     136  1. '''Policy assignment:''' Add or remove policies from the role/dataset.
     137  1. '''Edit record:''' Edit role details.
     138  1. '''Delete record:''' Remove a role from the app and the relations with groups and users.
     139}}}
     140
     141=== System policies ===
     142
     143{{{#!th
     144[[Image(image-20150305-132724.png, 100%, left, margin-right=30)]]
     145}}}
     146{{{#!td
     147
     148Operations:
     149  1. '''Edit record:''' Edit policy details.
     150  1. '''Delete record:''' Remove a policy from the app and the relations with roles.
     151}}}
     152
     153=== System messages ===
     154
     155You can send messages to your users filtering by groups, newsletter, admins, etc.
     156
     157{{{#!th
     158[[Image(image-20150305-134614.png, 50%)]]
     159}}}
     160
     161The messages you send are customized. You don't need to include Hi, Dear nothing or goodbye. The template is the following:
     162
     163{{{
     164Dear admin,
     165
     166{YOUR MESSAGE}
     167
     168Best regards,
     169
     170TAP Manager
     171}}}