mirror of
https://github.com/docker/docs.git
synced 2026-04-12 14:25:46 +07:00
plugins: install should not automatically accept all permissions
Signed-off-by: Tibor Vass <tibor@docker.com> (cherry picked from commit 4b70d4561e4a9b57d80b70cfebc50831e230735a)
This commit is contained in:
@@ -11,7 +11,7 @@ func (s *DockerSuite) TestPluginBasicOps(c *check.C) {
|
||||
tag := "latest"
|
||||
nameWithTag := name + ":" + tag
|
||||
|
||||
_, _, err := dockerCmdWithError("plugin", "install", name)
|
||||
_, _, err := dockerCmdWithError("plugin", "install", "--grant-all-permissions", name)
|
||||
c.Assert(err, checker.IsNil)
|
||||
|
||||
out, _, err := dockerCmdWithError("plugin", "ls")
|
||||
@@ -41,7 +41,7 @@ func (s *DockerSuite) TestPluginInstallDisable(c *check.C) {
|
||||
tag := "latest"
|
||||
nameWithTag := name + ":" + tag
|
||||
|
||||
_, _, err := dockerCmdWithError("plugin", "install", name, "--disable")
|
||||
_, _, err := dockerCmdWithError("plugin", "install", "--grant-all-permissions", "--disable", name)
|
||||
c.Assert(err, checker.IsNil)
|
||||
|
||||
out, _, err := dockerCmdWithError("plugin", "ls")
|
||||
|
||||
Reference in New Issue
Block a user