Skip to content

Commit ba79dcb

Browse files
committed
Fix some acl commands
1 parent abc2185 commit ba79dcb

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎plugins/acl/commands‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ case "$1" in
1717
remove_fingerprint "$FINGERPRINT"
1818

1919
for APP in $(ls -d $DOKKU_ROOT/*/ 2>/dev/null); do
20-
if is_fingerprint_allowed "$1" "deploy"
20+
if is_fingerprint_allowed "$FINGERPRINT" "deploy"
2121
then
2222
sed --in-place "/^$FINGERPRINT\$/d" "$DOKKU_ROOT/$APP/$DEPLOY_ALLOWED"
2323
fi
24-
if is_fingerprint_allowed "$1" "developer"
24+
if is_fingerprint_allowed "$FINGERPRINT" "developer"
2525
then
2626
sed --in-place "/^$FINGERPRINT\$/d" "$DOKKU_ROOT/$APP/$DEVELOPER_ALLOWED"
2727
fi
@@ -46,11 +46,11 @@ case "$1" in
4646
fi
4747

4848
for APP in $(ls -d $DOKKU_ROOT/*/ 2>/dev/null); do
49-
if is_fingerprint_allowed "$1" "developer"
49+
if is_fingerprint_allowed "$FINGERPRINT" "developer"
5050
then
5151
echo "Developer access to $APP."
5252
fi
53-
if is_fingerprint_allowed "$1" "deploy"
53+
if is_fingerprint_allowed "$FINGERPRINT" "deploy"
5454
then
5555
echo "Push-access to $APP."
5656
fi

0 commit comments

Comments
 (0)