Restricting choice in specific field based on user role

So the plugin did not answer exactly my need, so I went to the edition of the index.php file, and duplicated 5 times the blueprints directory… :expressionless: Then edited each pages/article.yml to restrict the value.

From :

...
fields:
  category:
	type: select
	max: 1
	options: query
	query: page.parent.categories.split

To :

...
fields:
  category:
	type: hidden
	default: The forced category for that role

And it seems to be working ! It might not be very efficient, but for now it will do nicely :slight_smile:

Thanks to all,

j.