Project

General

Profile

Actions

Feature #17821

open

Check projects export/autocron access template

Added by Enis Nuredini 3 months ago. Updated about 2 months ago.

Status:
New
Priority:
High
Assignee:
-
Target version:
Start date:
05.02.2024
Due date:
% Done:

100%

Estimated time:
Discuss:
Prio Planung:
No
Vote:

Description

Es muss bei allen Projekten das Typo3 Template für den Zugriff auf den Autocron überprüft werden. Für den Zugriff über Production muss noch die jeweilige IP Adresse entnommen werden:

hostname -I

Template vom Medtool:

*Constants*
----------------
# List of IP addresses to grant access: webwork22, medtool
site.allowIP.list = 127.0.0.1,::1,130.60.244.239

*Setup*
-----------
# Layout neu aufbauen
page = PAGE
page.typeNum = 0

# Show content
[ ip('{$site.allowIP.list}') || frontend.user.isLoggedIn]
  # Access granted
  page.10 < styles.content.get
[else]
  page.10 = TEXT
  page.10.value = Please log in or access this page from an authorized host. Your current IP address:&nbsp;
  page.20 = TEXT
  page.20.data = getenv : REMOTE_ADDR
[end]

Das Template muss auch bei den Options konfiguriert werden:

Ebenfalls noch hinzuzufügen bei Includes:


Files

Clipboard - February 5, 2024 2_05 PM.png View Clipboard - February 5, 2024 2_05 PM.png 42.3 KB Enis Nuredini, 05.02.2024 14:07
includes.png View includes.png 48.3 KB Enis Nuredini, 05.02.2024 14:15
Actions #1

Updated by Enis Nuredini 3 months ago

Actions #2

Updated by Enis Nuredini 3 months ago

  • Description updated (diff)
Actions #3

Updated by Enis Nuredini 3 months ago

Actions #4

Updated by Enis Nuredini 3 months ago

  • Description updated (diff)
Actions #5

Updated by Enis Nuredini 3 months ago

  • Description updated (diff)
Actions #6

Updated by Enis Nuredini 3 months ago

  • Subject changed from Check Projects Export/Autocron Access Template to Check projects export/autocron access template
Actions #7

Updated by Carsten Rose about 2 months ago

  • Tracker changed from Support to Feature
Actions #8

Updated by Carsten Rose about 2 months ago

  • Target version changed from next2 to 24.3.1
Actions

Also available in: Atom PDF