Hi,
I observed some issues with the userID-Author mapping:
1) On the user/XX/edit page, the option to map itself to a Biblio author is always enabled. I could not find a way of disabling and/or controlling this option (e.g., only the administrator could map the id to the user or only users with some role could map themselves);
2) As a consequence of 1), an user can map itself to any author on the user/XX/edit page. If it was already mapped, it creates a 2nd mapping without removing the 1st one, ie, its userID is mapped to 2 different Authors. But this confuses Biblio! For a better understanding of the problem, let´s say Author1 is the admin-created mapping and Author2 is the user-created mapping. What happens is:
- on the admin/settings/biblio/author/list/XX/edit pages, when editing each author, we can observe the duplicate mapping.
- on the user/XX/edit page, the mapping shown is the one created by the user (Author2)
- on the user/XX/biblio page ("My publications"), it follows the user-defined mapping (Author2)
- if the administrator removes the Author2 mapping on the admin/settings/biblio/author/list/XX/edit, the user/XX/edit and user/XX/biblio pages still maps to Author2, even though only 1 mapping now exist on the author list pages. The admin must manually go to user/XX/edit and force it to map to Author1 again
Please let me know if you need additional information
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | biblio6_profile_control.patch | 600 bytes | fredigolo |
Comments
Comment #1
rjerome commentedYes, I see what you mean and there is a disconnect between the two mappings which I will address.
You should be able to remove the users ability to make this mapping on their profile page by going to "admin/settings/biblio" and un-checking the "Allow users to override these settings on their "My account" page" option, is this not working?
Comment #2
fredigolo commentedThanks for the response. Actually the "Allow users to override these settings on their "My account" page" is partially working: when unselected, only the "Show my publications on my profile page" and the "Show "My publications" item in the navigation menu" options are disabled for the users. The mapping option is always enabled, even when new users are enrolling to the site.
But your reply pointed me to the expected behaviour regarding the ""Allow users to override..." option, so I created a small patch for the it. I am posting it in this issue (although I am not sure if it would be better to create a new issue specifically for this option).
Thanks for the excellent module!
Fernando
Comment #3
rjerome commentedThanks,
That was probably just an oversight not a design decision. I'll put that in and see if I can link the two "Author" mappings together. The issue with the author mappings is that they are stored in different locations. The mapping set on the user profile page is stored "users" table whereas the one set on the author edit page is stored in the biblio_contributor_data table.
Comment #4
rjerome commentedThis has now been fixed in the -dev version.