flavour/eden — comment on commit 78026955879f553e1a3e37588d03140aab39f260
File: modules/eden/menus.py line 856
By nursix:

restrict takes a list of roles, req here doesn't seem to be a role though, so you need to use check=req instead.

However, controller availability will be automatically checked, see https://github.com/flavour/eden/blob/master/modules/s3/s3navigation.py#L256 - so you do not need to express this explicitly here.