Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-3655

Order: Affiliate add permissions for all admin pages

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.11.0-b1
    • Component/s: None
    • Labels:
      None

      Description

      Add the following permission groups:

                  [
                      'name' => Language::_('OrderPlugin.permission.admin_affiliates', true),
                      'level' => 'staff',
                      'alias' => 'order.admin_affiliates'
                  ]
      

      Add the following permissions:

                  [
                      'group_alias' => 'order.admin_affiliates',
                      'name' => Language::_('OrderPlugin.permission.admin_affiliates', true),
                      'alias' => 'order.admin_affiliates',
                      'action' => '*'
                  ],
                  [
                      'group_alias' => 'order.admin_affiliates',
                      'name' => Language::_('OrderPlugin.permission.admin_affiliates_add', true),
                      'alias' => 'order.admin_affiliates',
                      'action' => 'add'
                  ],
                  [
                      'group_alias' => 'order.admin_affiliates',
                      'name' => Language::_('OrderPlugin.permission.admin_affiliates_update', true),
                      'alias' => 'order.admin_affiliates',
                      'action' => 'update'
                  ],
                  [
                      'group_alias' => 'order.admin_affiliates',
                      'name' => Language::_('OrderPlugin.permission.admin_affiliates_activate', true),
                      'alias' => 'order.admin_affiliates',
                      'action' => 'activate'
                  ],
                  [
                      'group_alias' => 'order.admin_affiliates',
                      'name' => Language::_('OrderPlugin.permission.admin_affiliates_deactivate', true),
                      'alias' => 'order.admin_affiliates',
                      'action' => 'deactivate'
                  ],
                  [
                      'group_alias' => 'order.admin_affiliates',
                      'name' => Language::_('OrderPlugin.permission.admin_affiliates_settings', true),
                      'alias' => 'order.admin_affiliates',
                      'action' => 'settings'
                  ],
                  [
                      'group_alias' => 'order.admin_affiliates',
                      'name' => Language::_('OrderPlugin.permission.admin_payouts', true),
                      'alias' => 'order.admin_payouts',
                      'action' => '*'
                  ],
                  [
                      'group_alias' => 'order.admin_affiliates',
                      'name' => Language::_('OrderPlugin.permission.admin_payouts_edit', true),
                      'alias' => 'order.admin_payouts',
                      'action' => 'edit'
                  ]
      

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            jonathan Jonathan Reissmueller
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              10/Jul/20

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 hour, 45 minutes
              1h 45m

                Agile