Revokes a project's permission to install a package.
Syntax
disallow project <project_name> to install package <package_name>;Parameters
| Parameter | Required | Description |
| project_name | Yes | The 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_name | Yes | The 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
CREATE PACKAGE: Creates a package.
ADD TO PACKAGE: Adds resources to a package.
REMOVE FROM PACKAGE: Removes resources from a package.
ALLOW PROJECT: Grants a project permission to install a package.
DESCRIBE PACKAGE: Views the details of a package.
DROP PACKAGE: Deletes a package.
INSTALL PACKAGE: Installs a package in a project.
UNINSTALL PACKAGE: Uninstalls a package from a project.
GRANT: Grants a user or role access to a package.
REVOKE: Revokes a user's or role's access to a package.
SHOW: Lists packages created or installed in a project.