Ticket #207 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

Administrator cannot see all studies

Reported by: work@… Owned by: work@…
Priority: major Milestone: 0.6.2
Component: General Version:
Keywords: Cc:
Hardware: Operating system:
Product: URL:


I was looking into solving Eugene's issue #195 but I could not find the studies he created as 'user' even though and Administrator should be able to see and do everything. So, make sure that an Administrator is able to do everything throughout the appliction (read, write, delete, modify everything, full access rights).

Change History

comment:1 Changed 6 years ago by s.h.sikkema@…

  • Status changed from new to assigned
  • Owner set to robert@…

comment:2 Changed 6 years ago by robert@…

  • Owner changed from robert@… to work@…

This has been implemented in all location where the methods Study.canRead and Study.canWrite are used. Also, two other methods have been implemented: Study.giveReadableStudies(SecUser?) and Study.giveWritableStudies(SecUser?) to obtain a list of studies to show on screen.

Whenever authorisation based on the study is used, these methods should be used, in order to keep all authorisation in one place.

Please test whether this works well. See r1222.

comment:3 Changed 6 years ago by work@…

  • Status changed from assigned to closed
  • Resolution set to fixed

It seems to work well on ci... closing the issue.

Note: See TracTickets for help on using tickets.