PHP Zend Framework 1.12 - Implement ACL to Web Application
$30-250 USD
Ditutup
Dibuat lebih dari 4 tahun yang lalu
$30-250 USD
Dibayar ketika dikirim
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.
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.
Best regards
Feroz
N. B..
- Must response and discuss before award.
- Absolutely not interested to do any test work.
- The Price is Negotiable.***
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 resource_id. Here resources will be the complete FEATURES of system, we can further chunk down the resources to some specific action as you described above.
I'm preferred Free Lancer having 7 years experience in Web Technologies. I would love to jump inn and get done this task for you. I'm preferred Freelancer so you can put trust in me. Looking forwards to hear from you.
Regards,
Zeeshan
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 give me an opportunity, I will do my best for your project.
I hope to hear from you soon.
Thanks.