Adding role and assigning permission
Posted: Mon Oct 22, 2012 8:34 am
I want to edit the role names and add a new role. I want to rename 'User' as 'Buyer' and add a new role 'Seller'. The roles for 'Buyer' remains the same as 'User', and 'Admin' remains as Admin. Now the tough part of what I want:
1) In User registration, the roles should have Buyer & Seller
2) The person who selects 'Buyer' gets User rights
3) Admin role is not seen in the form
4) The person who selects 'Seller' gets partial admin rights of Adding a Product.
5) He cannot see 'Add New Category' & 'Auction Settings' link or it is disabled for him
6) He can only view records of his products posted
Please let me know if this can be done and how Thanks in advance.
1) In User registration, the roles should have Buyer & Seller
2) The person who selects 'Buyer' gets User rights
3) Admin role is not seen in the form
4) The person who selects 'Seller' gets partial admin rights of Adding a Product.
5) He cannot see 'Add New Category' & 'Auction Settings' link or it is disabled for him
6) He can only view records of his products posted
Please let me know if this can be done and how Thanks in advance.