Setting undefined permission "files.changeStatus" is deprecated

Just upgrade sites to 5.5.2 and on some sites I’m getting this error when trying to login to panel.

Whoops \ Exception \ ErrorException (E_USER_DEPRECATED)
Setting undefined permission "files.changeStatus" is deprecated and will be ignored in a future version. Please use  to register custom permissions.

Anyone any idea, the trace does not seem that useful…

files.changeStatus doesn’t exist (files don’t have a status like pages) and you probably have that defined in a user role. (site/blueprints/users).

Hi Thomas, thanks for pointing me in the right direction, I found the errors in the blueprint and it now works.