Commit Graph
13 Commits
Author SHA1 Message Date
Martin Trigaux 65530dfd6a [ADD] *: add ir.model.access on all transient models
Following changes needing ir.model.access on transient models too.
Remove groups declaration on the action to move it to ir.model.access
when possible.
Rules are strict by default with no unlink access by default and high
priviledge asked. Adaptations may be needed later.
Write access is given as a wizard may need to be modified in case the
action triggers an error and the user has to correct a value

account*: use account.group_account_user for all transient by default
	  remove account.print.journal relic
stock*: use stock.group_stock_user by default
survey: survey user can send invitations
mail: allow any employee to execute wizards
      additional verifications are made to ensure they are executed
      only on the documents the user has access to you
      give portal access to mail.compose.message as portal still does
      some actions like posting messages on the forum
      add ir.rule to avoid reading somebody else messages
      increase the query count because of undeterminist count
crm: saleman for lead2opp, manager for massmailing
     partner manager for actions linked to partners
     avoid a write in test_lead_lost
sms: any employee can send sms
mrp: mrp user can execute wizards
     give unlink access as making write during do_produce operation
base_import: employees can import files
delivery: stock user can deliver
event_sale: sale user can configure the wizards
	    event user inherit from  sale rights
gamification: employee can give badge
google_service: resolve FIXME
hr: add specific rights
    manager can set a plan according to group on button
    anyone who can write on an employee can register a departure
hr_expense: set rights based on buttons
hr_holidays: an approver can make a summary report
hr_recruitment: recruiter can refuse a candidate
hr_timesheet: can use the wizard if can create a timesheet
l10n_eu_service: managers can create fiscal positions
mass_mailing: same group as on mass.mailing.list
membership: accountant can create invoice from membership
payment: accountant can create a link
	 as the source is an account.move
	 keep the payment.acquirer.onboarding.wizard to system user
	 only as it is called during company configuration
point_of_sale: PoS manager only can use wizards
	       never create closing_balance_confirm_wizard records
product_expiry: stock user has rights on stock.picking
product_margin: access from accounting menus
repair: same rules as for above models
sale: set ir.rule for self wizard only
      add rule from model introduced in payment to add salesman group
sale_crm: saleman can create a quotation from a lead
sale_coupon: any saleman can generate coupon
	     add self ir.rule
sale_product_configurator: salesman can select product variants
snailmail: employee can send letters
website: designers can write on website
website_crm_partner_assign: same rule as group on action
website_sale: sale ACL as for payment.acquirer.onboarding.wizard
website_slides: anyone can send invitation

base: base.language.*: allow employee (cf lang_install)
      change.password.user: can not read change password wizard of
      other users
      test.*: no access is needed

Courtesy of Damien Bouvy, William Andre and Antoine Prieëls for review
of acl
2020-02-04 17:54:18 +01:00
Fabien Pinckaers f27318c8af [IMP] Security Rule: removed duplicates due to inheritancies of groups
bzr revid: fp@tinyerp.com-20111212181113-mhnnbps3ip8ls6pp
2011-12-12 19:11:13 +01:00
mtr ca6308e217 [IMP] membership:-security improvements for the 'partner_manager' user
bzr revid: mtr@mtr-20101011081640-qxh628totfv3fwt0
2010-10-11 13:46:40 +05:30
DBR (OpenERP) 38356dd831 access right of partner and product manager
bzr revid: dbr@tinyerp.com-20100802135102-63iij3ze2daqnq58
2010-08-02 19:21:02 +05:30
UCO (OpenERP) 3217cf7e4c [REM]: Removed access rules for OSV memory objects
bzr revid: rpa@tinyerp.com-20100628134938-23kiccr4355jfhmg
2010-06-28 19:19:38 +05:30
Mod2 Team (OpenERP) b93efbe7c4 [REF+IMP] event, membership:
Event :
 * Change button icon for all searchview.
 * Develop 'group by partner' functionality in make invoice wizard of registration form.
 * change yaml as per changes in make invoice wizard.
 * remove 'List of register event' wizard and put link on in event form.
 * ADD 'Send a new mail' button for mail
 * Improve history functionality.
 * add group : event/manager and event/subscriber.

Membership .
 * merge two sql query in one repor_membership file.
 * develop search view of that report.
 * change icon for search view.

bzr revid: hmo@tinyerp.com-20100626101340-bt77wjb8ug3a3flj
2010-06-26 15:43:40 +05:30
atp (Open ERP) 46bb1ea51b [IMP]: membership: usability improvement in membership module.
bzr revid: atp@tinyerp.co.in-20100621155713-1hs8du994l3at43r
2010-06-21 21:27:13 +05:30
atp (Open ERP) e7af840d3d [IMP]: membership: Use multi in function field.separate report in report folder.
bzr revid: atp@tinyerp.co.in-20100607063342-sle8bcwuq0sn7b65
2010-06-07 12:03:42 +05:30
Rvo (Open ERP) 5fd39ca156 [ADD]: access rights for osv_memory and osv_osv objects
bzr revid: rvo@tinyerp.co.in-20100421111435-v4u8cemnfir19kh0
2010-04-21 16:44:35 +05:30
Christophe Simonis 123a99c39a fix access rules
bzr revid: christophe@tinyerp.com-20081021153441-af1qtobtazu7rs28
2008-10-21 17:34:41 +02:00
Christophe Simonis d3ce446ec0 fix and complete access rules
bzr revid: christophe@tinyerp.com-20081017084109-i1r4zigf7wp3o6i5
2008-10-17 10:41:09 +02:00
Fabien Pinckaers 51f8c2b263 Better Security Rules
bzr revid: fp@tinyerp.com-20080903224650-u1oadqv9x75atmyl
2008-09-04 00:46:50 +02:00
Fabien Pinckaers b4d6690794 Improved Security
bzr revid: fp@tinyerp.com-20080903180400-df7l6wxg1zpirmmi
2008-09-03 20:04:00 +02:00