Suljettu

PHP Zend Framework 1.12 - Implement ACL to Web Application

Hi,

I've a PHP Zend Framework 1.12 Web Application that I need to implement ACL ([login to view URL]).

The current Web Aplication have a simple authorization method that allows to create users, define passwords and assign the users to a group.

This simple authorization method is now insuficient to my needs and I need to implement something more granular.

Example of what I need to be able to do:

- For the user123 I need to give the following permissions. Run the indexAction() method, Deny createAction() method, Deny DeleteAction() method.

- For all users of the group Xyz I need go give the following permissions. Run the indexAction() method, Deny createAction() method, Deny DeleteAction() method.

- I need to define and store in the database the functions that each user or each group could Run(have access to).

- In the HTML links to the controllers ( indexAction() for example ) in the Web Application I will need to show only controllers with permissions.

Example of a tipical Controller:

<?php

class CommissionsController extends Zend_Controller_Action

{

public function init()

{

// Instantiate Global Models

$this->usersModel = new Application_Model_Users();

$this->commissionsModel = new Application_Model_Commissions();

// Get Session Details

$this->user_session_details = $this->usersModel->getSessionUserDetails();

if (!$this->usersModel->isAuthenticated()) { $this->_redirect('/Auth/Login'); }

}

public function indexAction()

{

$this->view->commissions = $this->commissionsModel->getCommisions();

}

public function createAction()

{

if ($this->_request->isPost())

{

$payments_id = $this->_request->payments_id;

$comment = $this->_request->comment;

// Save to the Database

$ins_commission = $this->commissionsModel->insertCommission($payments_id,

$comment,

$this->user_session_details['id']);

// redirect

$this->_redirect('/Commissions/');

}

$this->view->payments_not_inserted = $this->commissionsModel->getPaymentsNotInserted();

}

Now I can only do the following:

- If the user123 is logged in he can Run all methods. indexAction(), createAction(), DeleteAction().

If you are able to implement the ACL in this Web Application and want to make a proposal, in this proposal tell me how many DB tables you will use.

For now I've 2 DB tables, users and users_groups.

please reply if you read this project carefully. Don't bid randomly.

I have willing to pay more higher.

Taidot: PHP, MySQL, Zend

Näytä lisää: india outsourcing companies php zend framework, php zend framework experienced programmers philippines, est time php zend framework, jobs php zend framework eastern europe, bid php zend framework jobs, implement skype web application php, php zend framework, seo cake php zend framework, twitter api php zend framework, hyip script written php zend framework, zend framework 1, php zend framework jobs, migrate from zend framework 1 to 3, upgrade zend framework 1 to 3, composer install zend framework 1, upgrade zend framework 1 to 2, zend framework 1 php 7, zend framework 1 architecture

Tietoa työnantajasta:
( 0 arvostelua ) Los Angeles, United States

Projektin tunnus: #21778793

2 freelanceria on tarjonnut keskimäärin 60$ tähän työhön

achyuthdeb

What has been understood from your requirement is that it requires ZEND methodology in which I have several implementation experience as can be seen from the following ones.  For all [at] signs replace with @ symbol 1. Lisää

$89 USD 1 päivässä
(0 arvostelua)
0.0
plextoriavw

Hi, I would use 1 additional table for the ACL, at least in the beginning. Is there any reason the number of tables is important for this project? I assume you'll also need a web interface to edit the ACL? I'd love t Lisää

$30 USD 1 päivässä
(0 arvostelua)
0.0