- replace depreacted "ad_parameter" by "parameter::get"
- replace deprecated "ad_permission_p" by "permission::permission_p"
- replace deprecated "ad_require_permission" by "permission::require_permission"