X-Git-Url: http://git.hcoop.net/bpt/portal.git/blobdiff_plain/f432bce2e8a41a84b0cea40ac7b7ae27af2d5958..af6e66d925f1d1f7e050c29c0cf3252323acfe13:/sec.sig diff --git a/sec.sig b/sec.sig dissimilarity index 63% index 29882ad..2ab3bbd 100644 --- a/sec.sig +++ b/sec.sig @@ -1,19 +1,20 @@ -signature SEC = sig - structure Req : REQUEST_OUT - - val findSubusers : string -> string list - - datatype socket_perms = - ANY - | CLIENT_ONLY - | SERVER_ONLY - | NADA - - val inGroup : string * string -> bool - val socketPerms : string -> socket_perms - val isTpe : string -> bool - val cronAllowed : string -> bool - val ftpAllowed : string -> bool - - val findFirewallRules : string -> string list -end +signature SEC = sig + structure Req : REQUESTH_OUT + + val findSubusers : string -> string list + + datatype socket_perms = + ANY + | CLIENT_ONLY + | SERVER_ONLY + | NADA + + val socketPerms : {node : int, uname : string} -> socket_perms + val isTpe : {node : int, uname : string} -> bool + val cronAllowed : {node : int, uname : string} -> bool + val ftpAllowed : {node : int, uname : string} -> bool + + val findFirewallRules : {node : int, uname : string} -> string list + + val validRule : string -> bool +end