[ Index ]

PHP Cross Reference of GlotPress

title

Body

[close]

/gp-includes/ -> advanced-permissions.php (summary)

(no description)

File Size: 99 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 5 functions

  gp_recurse_project_permissions()
  gp_recurse_validator_permission()
  gp_route_translation_set_permissions_to_validator_permissions()
  gp_allow_everyone_to_translate()
  gp_allow_approving_translations_with_validator_permissions()

Functions
Functions that are not part of a class:

gp_recurse_project_permissions( $verdict, $args )   X-Ref
Filter for can_user, which tries if the user
has permissions on project parents


gp_recurse_validator_permission( $verdict, $args )   X-Ref
No description

gp_route_translation_set_permissions_to_validator_permissions( $verdict, $args )   X-Ref
No description

gp_allow_everyone_to_translate( $verdict, $args )   X-Ref
No description

gp_allow_approving_translations_with_validator_permissions( $verdict, $args )   X-Ref
Maps the translation check to the translation-set.

return: string|bool New decision whether the user can do this.
param: string|bool $verdict Previous decision whether the user can do this.
param: array       $args    Permission details.
since: 2.3.0



Generated: Sun Apr 28 01:01:17 2024 Cross-referenced by PHPXref 0.7.1