What does restricted is for

Forums: 

Hi folks,

I'm actually working on a very specific multi tenant project where I'm trying to incorporate H5P contents. I'm working on the editor right now, and I tried to restrict some libraries.

I thought that by doing that, those libraries would not be available anymore on the editor, but it seems I miss the purpose of restricted field.

Can anyone tell me what is it used for, and if there is a simple way of restrict the main libraries choice on the editor.

Thanks!

BV52's picture

Hi Cristiano,

I can only assume that you are logged in as an administrator when yopu checked the list. Being an administrator even if you restrict the content types/libraries you will still have access to them.

-BV

Hi!

Actually I am implementing H5P on a laravel multi tenant project. I'm not gonna say that it's been an easy work unfortunately.
How H5P actually verifies if we are admin or not.

Thanks ;)

BV52's picture

Hi Cristiano,

I'm not really sure how Laravel works but if you can change the library settings I would assume you are logged in as an admin. This is probably best answered by someone with more experience in Laravel. I hope the community can provide tips for your concern.

-BV