DISALLOW PROJECT

更新时间:
复制 MD 格式

Revokes a project's permission to install a package.

Syntax

disallow project <project_name> to install package <package_name>;

Parameters

ParameterRequiredDescription
project_nameYesThe name of the project from which to revoke install permissions. To get the project name, log on to the MaxCompute console. In the top navigation bar, select a region. On the Project management tab, obtain the name of the MaxCompute project.
package_nameYesThe name of the package whose install permissions to revoke. To list packages you created, run show packages; on the MaxCompute client.

Examples

The following example revokes test_project_b's permission to install the datashare package of the test_project_a project.

-- Revoke permissions to install the datashare package from the test_project_b project.
disallow project test_project_b to install package datashare;

What's next