Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Imldeployment
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
Imldeployment
Merge requests
!19
5534 add docker
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
5534 add docker
5534-add-docker
into
master
Overview
0
Commits
74
Pipelines
0
Changes
1
Merged
Hahn Axel (hahn)
requested to merge
5534-add-docker
into
master
2 years ago
Overview
0
Commits
74
Pipelines
0
Changes
1
0
0
Merge request reports
Viewing commit
b7919e2a
Prev
Next
Show latest version
1 file
+
5
−
0
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
b7919e2a
for dev-env: force a user without login
· b7919e2a
hahn
authored
2 years ago
public_html/deployment/index.php
+
5
−
0
View file @ b7919e2a
Edit in single-file editor
Open in Web IDE
Show full file
@@ -66,6 +66,11 @@ $sTopAction=getAction();
@@ -66,6 +66,11 @@ $sTopAction=getAction();
// ------ action
// ------ action
$oUser
=
new
user
();
$oUser
=
new
user
();
if
(
isset
(
$aConfig
[
"auth"
][
'forceuser'
])
&&
$aConfig
[
"auth"
][
'forceuser'
]){
$oCLog
->
add
(
"Found config -> auth -> forceuser: using fake identity ["
.
$aConfig
[
"auth"
][
'forceuser'
]
.
']'
,
"warning"
);
$oUser
->
setUser
(
$aConfig
[
"auth"
][
'forceuser'
]);
}
if
(
$oUser
->
hasPermission
(
'page_'
.
$sAction
)){
if
(
$oUser
->
hasPermission
(
'page_'
.
$sAction
)){
$sActionFile
=
__DIR__
.
'/pages/act_'
.
$sAction
.
".php"
;
$sActionFile
=
__DIR__
.
'/pages/act_'
.
$sAction
.
".php"
;
Loading