Class PackagePermissionUtils


  • public class PackagePermissionUtils
    extends Object
    • Method Detail

      • isReadablePackage

        public static boolean isReadablePackage​(Package aPackage,
                                                UserPermissionEvaluator userPermissionEvaluator)
        Returns:
        whether the current user can add entity types or add packages to this package
      • isWritablePackage

        public static boolean isWritablePackage​(Package aPackage,
                                                UserPermissionEvaluator userPermissionEvaluator)
        Returns:
        whether the current user can add entity types or add packages to this package