Tiny ERP new development in Security
Hello to All !!!
Tiny ERP have develop the new interesting features regarding security.
Field based Security

hare you can see there are few fields are hidden in partner contact and also one tab page is not accessible called "Extra Info" these are few lines written like as follows
Work-flow Security
Tiny ERP have develop the new interesting features regarding security.
- Field based Security
- Work-flow Security
- Security based Action
Field based Security
one can define the groups attribute on the field, page, notebook, button, or any other tag and form parser will check the current user for the assigned groups and based on the user groups relation tiny will generate he view for current user, if user not have the access to any field, page, or notebook, these ll will automatically hidden from the user view as you can see billow

hare you can see there are few fields are hidden in partner contact and also one tab page is not accessible called "Extra Info" these are few lines written like as follows
page string="Extra Info" groups="base.group_admin"
Work-flow Security
this is a small and good feature, form the user side no need to change in any configuration tiny will automatically handle the things to make the work flow buttons enable or disable according to the work flow signal role's groups and current user's groups.
for example in Invoice object, one role is created to confirm the invoice called "Invoice Manager" if the current user is demo user and he does not have the role to confirm the invoice e-tiny will disable the Create button for demo user while creating the invoice view for demo user, you can see in next screen.

Security based Action (Report, Wizard)
a new field added to 2 objects ir.actions.report.xml and ir.actions.wizard to have a groups based security to perform this actions. if there is a groups assign in to Report or Wizard, only user related to this groups can be able to access the Report or Wizard as you can see 2 different forms for the demo user and for the admin user.
Admin menu
here admin can access the Report Overdue Payment and all wizard as admin groups is given to the this report, same way for the Wizards admin groups is set so that all the users who belongs to the admin groups they can access report and wizard.

Demo Menu
demo user is a Data entry user must not be able to access some Actions and Reports related to Accounting so for the same view he can not be able to perform such operations and not be able to

get full documentation from here
for example in Invoice object, one role is created to confirm the invoice called "Invoice Manager" if the current user is demo user and he does not have the role to confirm the invoice e-tiny will disable the Create button for demo user while creating the invoice view for demo user, you can see in next screen.

Security based Action (Report, Wizard)
a new field added to 2 objects ir.actions.report.xml and ir.actions.wizard to have a groups based security to perform this actions. if there is a groups assign in to Report or Wizard, only user related to this groups can be able to access the Report or Wizard as you can see 2 different forms for the demo user and for the admin user.
Admin menu
here admin can access the Report Overdue Payment and all wizard as admin groups is given to the this report, same way for the Wizards admin groups is set so that all the users who belongs to the admin groups they can access report and wizard.

Demo Menu
demo user is a Data entry user must not be able to access some Actions and Reports related to Accounting so for the same view he can not be able to perform such operations and not be able to

get full documentation from here
Hi,
ReplyDeleteDo you know when the improvements will be available?
Greetings
Hello !!
ReplyDeleteThis is already Implemented on the Tiny ERP Trunk Version
Please have a look at the Trunk Version
Regards,
M Gajjar
I would love to know more about programming.. I was not aware of ERP. After analyzing your post, i could get some knowledge about it. I appreciate for sharing this info.
ReplyDeleteweb domain registration