Ticket #207 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Administrator cannot see all studies

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

Description

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

Changed 3 years ago by s.h.sikkema@…

  • owner set to robert@…
  • status changed from new to assigned

Changed 3 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.

Changed 3 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.