Co-readers are users that are allowed to read diaries of other users, who have given them the according access rights.
A user may declare certain aritcles or data as private, then no other co-readers have access to these data.
The data-categories are:
- diary reports
- expenditure-data
- income-data
- (work-) time-data
- geolocation information
The system provides the following functions:
- Invite other users as co-readers to your diary
- enter invitiation in the diary application
- choose menue point
- dialogue function
- entry field for email address of co-reader
- formal check of email address
- entry field for additional text for the user who shall be invited
- on click - AJAX-request to the server
- send email address and additional text to the server
- server stores the data
- server calculates onetime handle
- server sends response to client
- client starts local email application and passes address, subject and body for the email (some email programs must be started manually in advance)
- some information in http://stackoverflow.com/questions/36667980/can-i-open-a-mailto-link-in-gmail-and-have-it-sent-without-clicking-send
- window.location.href="mailto:myemail@gmail.com?subject=My+great+email+to+you&body=" + text;
- email is send to the co-reader
- co-reader can register as reader to a diary
- click on link in the email or copy the link to the url of the browser and send it to the server
- if everything is ok, the co-reader registration is done automatically and the browser starts the login, otherwise an error message is displayed and no co-reader registration is done
- the co-reader can read the diary of other people according to the registration and acknowledgement
No comments:
Post a Comment