aarhusstadsarkiv / stadsarkiv-client

A generic starlette client for our Fastapi-webservice
1 stars 1 forks source link

Fix permissions for viewing material #229

Open diversen7 opened 2 weeks ago

diversen7 commented 2 weeks ago

Is user is 'employee' then allow to see material which can be seen from reading room.

E.g. https://www.aarhusarkivet.dk/records/000309478

diversen7 commented 1 week ago

This has been fixed in source code.

diversen7 commented 1 week ago

Another issue is this: http://localhost:5555/records/503369?search=1

This should get a "lock" when not logged in according to existing aarhusarkivet