New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve logging when changing curator rights #25
Comments
While managing curators for a gene, one can:
I propose to let the log message show the new order of curators with I think showing the difference in order of curators would make the log @ifokkema, please let me know what you think. Example log message:
|
I agree it would be good to explain the difference and what changed, but this seems like a lot of text already, especially if almost nothing changed. Wouldn't it be better to just show what's been changed? In your example, I think you mean to say two curators got hidden, right? So show should be "true" for IDs 2 and 3, no? How about:
with all info removed that didn't change. Wording can be different. I find this easier to read, especially when little information changed. If you agree, we can write up all possible log entry lines, and then implement. |
I agree. I guess we should also mention added/removed curators. An example with all possible changes (I believe) is then:
In my opinion extra markup with links is not necessary, it may even hinder readability when looking at the logs directly in the database. |
OK, looks good! |
When changing curators or curator's rights (genes/DMD?authorize), LOVD logs that the form is submitted, but not what has changed. It would be useful to change the lovd_writeLog() call to include the difference, so you can see in the logs if a user was removed as curator, demoted to collaborator, collaborators who became curators, or users added as curators.
The text was updated successfully, but these errors were encountered: