mirror of
https://github.com/gravitl/netmaker.git
synced 2026-04-22 16:07:11 +08:00
c2423bf20b
* NM-213: JIT access * NM-213: handle expiry duration in epoch * NM-213: avoid jit checks for admins * NM-213: add jit expiry field to extclient * NM-213: format jit emails * NM-213: format jit email templates * NM-213: update jit expiry on existing clients * NM-213: update jit expiry on existing clients
10 lines
166 B
Go
10 lines
166 B
Go
package logic
|
|
|
|
import (
|
|
"github.com/gravitl/netmaker/schema"
|
|
)
|
|
|
|
var CheckJITAccess = func(string, string) (bool, *schema.JITGrant, error) {
|
|
return true, nil, nil
|
|
}
|