Skip to main content

reconsitution web.permissionHelper cls.

Project description

TDhelper LIb

helper class lib.

Cache

1. pools

2. ring cache

db

1. sqllite

2. mongodb

3. mysql

Decorators

1. log

document

1. file

2. excel

Event

1. Event

2. classEvent

3. webEvent

generic

MagicCls

running time dynamic create class. mapping any object to an object.

Msg

genneric msg helper class.

network

http, socket helper.

robot

robot class.

Scheduler

not finished

simulate

not finished

Spider

structs

not finished

web

permission module

1. register

permission register class.

Methods

NO.
|
name
|
description
:---:|:---|:--- 1 | [Register](#perRegister) | - 2 | [RegisterByCfg](#perRegisterByCfg) | -

Register

name
|
description
| type | required | default :--- | :--- | :---: | :---: | :--- serviceClass | - | class | yes | -

RegisterByCfg

name
|
description
| type | required | default :--- | :--- | :---: | :---: | :--- Cfg | - | dict | yes | -

2. perACL

web project check ACL.

Methods

NO.
|
name
|
description
:---:|:---|:--- 1 | [perACL](#perACL) | - 2 | [addRPCHandle](#addRPCHandle) | - 3 | [AccessControlLists](#accessControlLists) | -

perACL

Initialize.

name
|
description
| type | required | default :--- | :--- | :---: | :---: | :--- rpc_key | - | str | yes | - params_container_class | - | str | yes | - platformKey | - | str | no | None tokenKey | - | str | no | usr-token

addRPCHandle

Add ACL RPC handle method.

name
|
description
| type | required | default :--- | :--- | :---: | :---: | :--- handle | - | RPC | yes | -

AccessControlLists

decotrator method. @perACL.accessControlLists()

name
|
description
| type | required | default :--- | :--- | :---: | :---: | :--- premissionKey | - | str | no | None debug | - | Boolen | no | False

Project details


Release history Release notifications | RSS feed

This version

2.7.6

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

TDhelper-2.7.6.tar.gz (112.6 kB view hashes)

Uploaded Source

Built Distribution

TDhelper-2.7.6-py3-none-any.whl (162.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page