{% extends "base.html" %} {% block title %}공유폴더 접근 제어{% endblock %} {% block content %}

공유폴더 접근 제어

폴더별로 엔진엑스 사용자 접근만 허용/차단합니다.
대표 공유폴더는 1개만 지정 가능합니다 (체크 해제 가능).
경로는 경로 선택 버튼으로만 지정하세요.

{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %}
{{ message }}
{% endfor %} {% endif %} {% endwith %}
폴더명 경로 접근 허용 사용자
   
{% if users and users|length > 0 %} {% for user in users %} {% endfor %} {% else %} 등록된 엔진엑스 사용자가 없습니다. {% endif %}
마운트된 드라이브 선택:
{% for mount in mounts %} {% else %} {% endfor %}
선택 디바이스 경로 접근 허용 사용자 추가
{{ mount.device }} {{ mount.path }} {% for user in users %} {% endfor %}
마운트된 드라이브가 없습니다.
{% if shares and shares|length > 0 %}
{% for share in shares %} {% if share.name == default_share %} {% endif %} {% endfor %}
폴더명 경로 접근 허용 사용자 수정/삭제/탐색기
{{ share.name }} {% if share.name == default_share %} {% endif %} {{ share.path }} {% if users and users|length > 0 %} {% for user in users %} {% endfor %} {% set cnt = share.allowed_users|length %} {% if cnt == 0 %} 접근 허용된 사용자가 없습니다. {% elif cnt == 1 %} ({{ share.allowed_users[0] }}) {% elif cnt > 1 %} ({{ share.allowed_users | join(', ') }}) {% endif %} {% else %} 등록된 엔진엑스 사용자가 없습니다. {% endif %}
{% else %}
등록된 공유폴더가 없습니다.
{% endif %} {% endblock %}