exemple EAD
This commit is contained in:
parent
f0aa10cf73
commit
a8dc4a5bba
@ -0,0 +1 @@
|
||||
cmd_ls
|
12
modules_EOLE_envole/documents/tronc-commun-2/ead/cmd_ls.py
Normal file
12
modules_EOLE_envole/documents/tronc-commun-2/ead/cmd_ls.py
Normal file
@ -0,0 +1,12 @@
|
||||
# -*- coding: UTF-8 -*-
|
||||
from ead2.backend.actions.lib.main import Cmd
|
||||
|
||||
class Cmd_Ls(Cmd):
|
||||
"""
|
||||
Action du mode commande
|
||||
"""
|
||||
name = "cmd_ls"
|
||||
# propriété de la commande à exécuter
|
||||
cmd_template = "/bin/ls /tmp"
|
||||
cmd_libelle = "ls sur /tmp"
|
||||
|
1
modules_EOLE_envole/documents/tronc-commun-2/ead/ls.cmd
Normal file
1
modules_EOLE_envole/documents/tronc-commun-2/ead/ls.cmd
Normal file
@ -0,0 +1 @@
|
||||
cmd_ls
|
@ -0,0 +1,5 @@
|
||||
[roles]
|
||||
admin=Administrateur
|
||||
|
||||
[permissions]
|
||||
cmd_ls=admin
|
Loading…
Reference in New Issue
Block a user