Added Permissions checks for important actions.