UB-Mannheim / escriptorium

Clone of https://gitlab.com/scripta/escriptorium.git
Other
18 stars 5 forks source link

API restrictions user #5

Open Hoekman57 opened 7 months ago

Hoekman57 commented 7 months ago

I added as admin an user in the API enviroment of escriptorium but it seems that I can't manage any restrictions for the customer Or that the restriction don't function when I add them. What am I doing wrong?

stweil commented 7 months ago

Please add more information, because otherwise I have to guess what you were doing.

Hoekman57 commented 7 months ago

1) Local docker installation, develop branch 2) User is added using admin section (http://localhost/admin) 3) For example prevent users to manage models, train models, invite other users,..

stweil commented 7 months ago

Typically new users are invited and can then register themselves (not added in the admin interface). Such normal users are not allowed to train models or to invite other users by default. That can be changed in the admin interface.

Hoekman57 commented 7 months ago

The user did register And we gave the user access to segmentation and ocr with our model AND there are a lot of restrictions in the user panel but whatever we try in the settings, of the user he/she can still download our seg- or ocrmodel we offered him/her