2017 © Pedro Peláez
 

library user-api

ZF2 based APIs using REST/JSON

image

rcm/user-api

ZF2 based APIs using REST/JSON

  • Monday, October 2, 2017
  • by reliv
  • Repository
  • 6 Watchers
  • 0 Stars
  • 2,697 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

rcmuser-api

ZF2 based APIs using REST/JSON, (*1)

REST/JSON APIs

This module exposes several APIs for user administration. The APIs are not comprehensive, but they do allow for some user and ACL management. The admin APIs require access rules to be set in order to access (@see ACL section)., (*2)

For a complete list of the APIs, please see the RcmUser/config/module.config.php file, routes section. API standard return is a result object containing a code, message and the data., (*3)

Controller Plugins and View Helpers

  • rcmUserIsAllowed($resourceId, $privilege = null, $providerId = null) (plugin and helper), (*4)

    • Alias of RcmUserService::isAllowed()
  • rcmUserHasRoleBasedAccess($roleId) (plugin and helper), (*5)

    • Alias of RcmUserService::hasRoleBasedAccess()
  • rcmUserGetCurrentUser($default = null) (plugin and helper), (*6)

    • Alias of RcmUserService::getIdentity()

controller plug-in and view helper for isAllowed (rcmUserIsAllowed for plug-in and helper), (*7)

View dependencies

  • AngularJs (https://angularjs.org/)
  • Bootstrap (http://getbootstrap.com/)
  • UI Bootstrap (http://angular-ui.github.io/bootstrap/)

Project

Company:

Copyright Reliv' International, Inc. 2015, (*8)

Project homepage:

https://github.com/reliv/rcm-user-api, (*9)

Project author:

James Jervis jjervis@relivinc.com https://github.com/reliv, (*10)

@TODO

More REST/JSON APIs

As DevOpts I should have access to REST/JSON APIs So that I may securely perform RcmUser actions VIA web clients, (*11)

Security Updates

Story: As and Auditor I can access a log of actions performed on users and roles by administrators So that I track admin user changes, (*12)

  • Implement logging audit trail for user creates and saves
  • might create event listeners or do at the service level
  • Logging of actions for security audits

The Versions

02/10 2017

dev-master

9999999-dev https://github.com/reliv/rcm-user-api

ZF2 based APIs using REST/JSON

  Sources   Download

BSD-3-Clause

The Requires

 

zf2 module rcm

02/10 2017
23/01 2017
29/09 2016
30/03 2016
30/03 2016
29/02 2016

1.0.1

1.0.1.0 https://github.com/reliv/rcm-user-api

ZF2 based APIs using REST/JSON

  Sources   Download

BSD-3-Clause

The Requires

 

zf2 module rcm

15/01 2016

dev-revert-3-patch-1

dev-revert-3-patch-1 https://github.com/reliv/rcm-user-api

ZF2 based APIs using REST/JSON

  Sources   Download

BSD-3-Clause

The Requires

 

zf2 module rcm

05/01 2016

1.0.0

1.0.0.0 https://github.com/reliv/rcm-user-api

ZF2 based APIs using REST/JSON

  Sources   Download

BSD-3-Clause

The Requires

 

zf2 module rcm