Project

General

Profile

Actions

Bug #2971

closed

J2.5: Plugin access checking for usergroup and not accesslevel

Added by krileon over 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
09 November 2011
Due date:
% Done:

100%

Estimated time:
2:00 h

Description

When setting a plugin to "Registered" for example it is ignored because the check in loadPluginGroup of plugin.class.php is looking for usergroup and not accesslevel.

https://www.joomlapolis.com/forum/153-professional-member-support/181879-plugin-access-error

Accesslevel should be depreciated and this converted to usergroup usage.


Files

2971.patch (1.53 KB) 2971.patch krileon, 30 January 2012 20:52

Related issues 1 (0 open1 closed)

Blocks CB - Bug #3206: J2.5: Author tab access level check works correctly only for system-default access levelsClosedbeat01 February 2012

Actions
Actions #1

Updated by krileon about 12 years ago

  • File 2971.patch 2971.patch added
  • Status changed from New to Resolved
  • Assignee set to beat
  • % Done changed from 0 to 100

Instead of depreciating accesslevels for now, just updated the loadplugin function to get the users accesslevels. It's also updated to handle a user having multiple accesslevels.

Actions #2

Updated by beat about 12 years ago

- This patch fixes Joomla 2.5 Access levels only partially.
- Also it bugs when you have custom access levels missing in the list as the array is indexed.

Fixed completely differently in r1660 .

Actions #3

Updated by beat about 12 years ago

  • Status changed from Resolved to Closed
  • Target version set to CB 1.8
  • Estimated time set to 2:00 h
Actions #4

Updated by beat about 12 years ago

  • Subject changed from Plugin access checking for usergroup and not accesslevel to J2.5: Plugin access checking for usergroup and not accesslevel
Actions

Also available in: Atom PDF