Ditutup

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.

Kemahiran: PHP, MySQL, HTML, Zend

Lihat lagi: zend framework login web services, zend framework sites web, web sites using zend framework, zend framework php cakephp, 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 rtsp web application, implement skype web application php, php zend framework, seo cake php zend framework, twitter api php zend framework, hyip script written php zend framework, php web crawler zend framework, zend framework 1, php zend framework jobs

Tentang Majikan:
( 0 ulasan ) Los Angeles, United States

ID Projek: #21783064

10 pekerja bebas membida secara purata $222 untuk pekerjaan ini

A2Design

Hello! We are a team of 30+ web developers based in Russia. Our team is interested in developing your project. Having the required skills, we will be glad to help you. We have some questions regarding your projec Lagi

$350 USD dalam 3 hari
(122 Ulasan)
8.6
ferozstk

Hello, After reading your project details I believe I'm suitable for this project. As I'm expert on it with more than 7 years experience. Please feel free to contact me. I am looking forward to hear from you. Lagi

$190 USD dalam 3 hari
(131 Ulasan)
6.7
symaticssolution

Dear Sir, Greetings! I have reviewed your job application and excited to take this opportunity to work on your ERP system . I have good knowledge of Zend and Laravel frameworks and I have also developed several big w Lagi

$250 USD dalam 7 hari
(75 Ulasan)
7.0
Snail0917

Please give me a chance to work with you. Php is a simple project for me. Hello sir! Nice to meet you. I have experience in working with web-based applications and developing scripts using PHP language. I am a certifie Lagi

$100 USD dalam 3 hari
(12 Ulasan)
4.7
MuhammadFahaam

Greetings, I need to make a table called resources_list and than I final table of acl_group. resource_list table will give me the complete list of available resources and acl_group will map the user group to specific Lagi

$590 USD dalam 10 hari
(15 Ulasan)
4.9
chiguy2

Dear, sir. I checked your detail. I am a senior web developer, I mastered to php framework such as Codeigniter and Laravel. Also, I have enough experience of Zend framework. I hope to touch your project once. If you gi Lagi

$200 USD dalam 7 hari
(2 Ulasan)
3.9
universe11125

☝ Hello, my respected client ☝ Thank you for posting the perfect project for me and I eagerly want to work with you. Please kindly invite me to your job Best regards.

$140 USD dalam 7 hari
(7 Ulasan)
3.9
smileitsolu

We can immediately start work. I am Sr. PHP Developer having over 10+ years of quality experience in designing & developing web applications using:- Programming Languages:- Core PHP,, wordpress,joomla,Bigcommerce,mag Lagi

$120 USD dalam 2 hari
(42 Ulasan)
5.1
AiAge888

⭐Hello. I have read your requirement carefully. I am a professional ⭐ PHP & Zend 1.12 expert ⭐with a rich experience that makes many sites with mainly Codeigniter,Laravel,Yii,MySQL for 7+years. Also i have keen Lagi

$140 USD dalam 7 hari
(4 Ulasan)
3.2
akfaqana

Hi, When we can talk please schedule a time? I will work till satisfaction of you and do work more perfectly and clearly. Please have a check Website designing and development work work below [login to view URL] Lagi

$140 USD dalam 7 hari
(2 Ulasan)
1.1