2017 © Pedro Peláez
 

library admin-delegation

Delegator delegate delegatee to manage it's admin. They can both use this.

image

catpkt/admin-delegation

Delegator delegate delegatee to manage it's admin. They can both use this.

  • Monday, July 9, 2018
  • by CatPKT
  • Repository
  • 1 Watchers
  • 1 Stars
  • 117 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 17 Versions
  • 17 % Grown

The README.md

后台委托器

用于将后台后台委托给其它应用,或管理受托的后台。, (*1)

简介

作为微服务和小应用,不希望单独实现后台, 或希望将多个应用的后台整合在一起,即可使用本库。, (*2)

两种角色可使用本库, (*3)

后台委托者:拥有资源,但不建立自己的后台,而将资源管理权限委托给后台实现者。, (*4)

后台实现者:实现后台,去管理后台委托者所拥有的资源。, (*5)

用法

后台委托者

  • 继承抽象类 \CatPKT\AdminDelegation\AAdminDelegator; 创建委托者类,并实现必要的抽象函数
  • 注册资源与增删改查规则
  • 将某个 URL 的所有 Method 请求路由到此委托者类的 handle 方法 并传入请求类(需为 \Symfony\Component\HttpFoundation\Request 或其子类)的对象

后台实现者

通过加密器和委托者的URL,创建 AdminDelegatee 类实例。并通过其管理受委托的后台。, (*6)

The Versions

09/07 2018

dev-master

9999999-dev

Delegator delegate delegatee to manage it's admin. They can both use this.

  Sources   Download

MIT

The Requires

 

by Fenz

09/07 2018

0.3.10

0.3.10.0

Delegator delegate delegatee to manage it's admin. They can both use this.

  Sources   Download

MIT

The Requires

 

by Fenz

02/07 2018

0.3.9

0.3.9.0

Delegator delegate delegatee to manage it's admin. They can both use this.

  Sources   Download

MIT

The Requires

 

by Fenz

13/04 2018

0.3.8

0.3.8.0

Delegator delegate delegatee to manage it's admin. They can both use this.

  Sources   Download

MIT

The Requires

 

by Fenz

13/03 2018

0.3.7

0.3.7.0

Delegator delegate delegatee to manage it's admin. They can both use this.

  Sources   Download

MIT

The Requires

 

by Fenz

02/02 2018

0.3.6

0.3.6.0

Delegator delegate delegatee to manage it's admin. They can both use this.

  Sources   Download

MIT

The Requires

 

by Fenz

12/01 2018

0.3.5

0.3.5.0

Delegator delegate delegatee to manage it's admin. They can both use this.

  Sources   Download

MIT

The Requires

 

by Fenz

10/01 2018

0.3.4

0.3.4.0

Delegator delegate delegatee to manage it's admin. They can both use this.

  Sources   Download

MIT

The Requires

 

by Fenz

15/11 2017

0.3.2

0.3.2.0

Delegator delegate delegatee to manage it's admin. They can both use this.

  Sources   Download

MIT

The Requires

 

by Fenz

15/11 2017

0.3.1

0.3.1.0

Delegator delegate delegatee to manage it's admin. They can both use this.

  Sources   Download

MIT

The Requires

 

by Fenz

14/11 2017

0.3.0

0.3.0.0

Delegator delegate delegatee to manage it's admin. They can both use this.

  Sources   Download

MIT

The Requires

 

by Fenz

14/11 2017

0.2.2

0.2.2.0

Delegator delegate delegatee to manage it's admin. They can both use this.

  Sources   Download

MIT

The Requires

 

by Fenz

14/11 2017

0.2.1

0.2.1.0

Delegator delegate delegatee to manage it's admin. They can both use this.

  Sources   Download

MIT

The Requires

 

by Fenz

13/11 2017

0.2.0

0.2.0.0

Delegator delegate delegatee to manage it's admin. They can both use this.

  Sources   Download

MIT

The Requires

 

by Fenz

13/11 2017

0.1.2

0.1.2.0

Delegator delegate delegatee to manage it's admin. They can both use this.

  Sources   Download

MIT

The Requires

 

by Fenz

13/11 2017

0.1.1

0.1.1.0

Delegator delegate delegatee to manage it's admin. They can both use this.

  Sources   Download

MIT

The Requires

 

by Fenz

12/11 2017

0.1.0

0.1.0.0

Delegator delegate delegatee to manage it's admin. They can both use this.

  Sources   Download

MIT

The Requires

 

by Fenz