Added file restriction block in mongoose model.

The restrictions helper needs to use the values passed by File editor
options (TBI), currently only default 0s are assigned. This is to
facilitate the resources listing in authorization.