vivo-project/VIVO

Self editor display permission is being removed on edit of property

Closed this issue · 0 comments

Describe the bug
Self editor display permission is being removed on edit of property.

To Reproduce
Steps to reproduce the behavior:

  1. Go to edit of faux property has collaborator, editForm?controller=FauxProperty&baseUri=http%3A%2F%2Fvivoweb.org%2Fontology%2Fcore%23hasCollaborator&domainUri=http%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2FPerson&rangeUri=http%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2FPerson
  2. Don't change anything, just click submit changes
  3. Restart tomcat
  4. Go to the same page to edit faux property
  5. Notice that permission to display property for self editors is not checked anymore.

Expected behavior
Permission should remain in place

Additional notes
Regression introduced in vivo-project/Vitro#433

Environment (please complete the following information):

  • OS: Linux
  • Browser Firefox
  • Tomcat version 8.5
  • VIVO version 1.14.1-SNAPSHOT
  • Apache Solr