Skip to content
This repository was archived by the owner on Jan 25, 2025. It is now read-only.

Commit 2cce865

Browse files
committed
Add support for restricting access
1 parent 69c995f commit 2cce865

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docker-entrypoint.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,10 @@ firebirdSetup() {
153153
if [[ ${DataTypeCompatibility} != '' ]]; then
154154
confSet DataTypeCompatibility "${DataTypeCompatibility}"
155155
fi
156+
file_env 'RestrictAccess'
157+
if [[ ${RestrictAccess} == 'true' ]]; then
158+
confSet DatabaseAccess "Restrict ${DBPATH}"
159+
fi
156160
fi
157161

158162
if [ ! -f "${VOLUME}/system/security5.fdb" ]; then

0 commit comments

Comments
 (0)