Add ability to apply document editing restrictions