1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-26 11:18:09 +01:00
Commit Graph

12 Commits

Author SHA1 Message Date
camer0n
dbb9c74727 Closes #5171 Social trackers updated 2024-01-19 13:23:01 -08:00
Nick Liu
dd36fbd51d Unify logic of e_user_model::checkAdminPerms() and getperms()
Along with extensive documentation, `getperms()` is now deprecated and
its replacements now have first-class support:
* `e_user_model::checkAdminPerms()` and `getperms()` both use
  `e_userperms::simulateHasAdminPerms()`.
* `e_user_model::checkPluginAdminPerms()` and `getperms('P', …, …)`
  both use `e_userperms::simulateHasPluginAdminPerms()`.

----

Partially reverts: https://github.com/e107inc/e107/commit/44526b43

Reverts: https://github.com/e107inc/e107/commit/001799cb

Fixes: https://github.com/e107inc/e107/issues/5064
2023-09-09 12:03:14 +02:00
camer0n
44526b435c Issue #5064 - Draft fix for user impersonation (getperms()) 2023-09-08 14:18:06 -07:00
Cameron
aa1a19b1dd Disable TimeZone test. 2021-01-25 09:54:11 -08:00
Cameron
b77ae278dd Updated TimeZone test. 2021-01-25 09:38:40 -08:00
Cameron
c045f2874c Clock-menu removed from code. Extra logTime entries added. Debug performance highlighting tweaks. 2021-01-25 07:57:24 -08:00
Cameron
93918849f4 Expanded on getperms() test. 2021-01-22 17:09:55 -08:00
Cameron
8f4b3429dc Removed old comments from e107_class.php. userlogin class cleanup. New user login test added. 2021-01-16 08:43:51 -08:00
Cameron
84a3e45e48 Moved old functions out of class2.php. 2020-12-25 14:57:53 -08:00
Cameron
4a30f88f2c check_class() code optimization 2020-12-10 18:02:28 -08:00
Nick Liu
207ce81106 Bring class2Test::testCheckClass() back to passing (workaround) 2020-01-18 16:35:21 +01:00
Deltik
e49ee50d31 Preparation for merge with e107 repository
Moved all test files to e107_tests subdirectory
2019-11-27 11:18:53 -06:00