Made EditPermissionAttribute actually work as intended.