Change record status: 
Introduced in branch: 
2.1.x
Introduced in version: 
2.1.1-beta1
Description: 

The UserRestrictions class has a $name property which is deprecated in the 2.1.x branch in favor of the $id property, the default entity property used by entities for their ID.

Existing code that did access that property via UserRestrictions::id() will still work. Code that accessed that property directly will need to be changed to use UserRestrictions::id().

Impacts: 
Module developers
Site templates, recipes and distribution developers