FusionPBX
cd8d5302ac
Fix temporary permissions
2024-11-29 13:57:01 -07:00
FusionPBX
4db95658c3
Method new allow null
...
Needed to support temporary permissions
2024-11-29 13:50:14 -07:00
FusionPBX
3a14a19800
Create a singleton method called new
2024-11-27 00:11:58 -07:00
FusionPBX
6e1d52e6b8
Update permissions.php
2024-11-26 22:49:23 -07:00
FusionPBX
5d7a124a79
Fix permissions when not using a session
2024-11-26 21:48:08 -07:00
FusionPBX
2a41ccfebd
Return an empty array if there are no groups
2024-11-20 13:52:58 -07:00
frytimo
2085c950ee
Use isset in permission exists for improved efficiency( #7126 )
...
Using isset on the key name of the array allows it to use a hash table lookup to improve the lookup times for a permission. The permission name is not set if it does not exist for the current user.
2024-09-09 09:14:45 -06:00
FusionPBX
38d6f35d78
Define class parameters
2024-04-27 19:45:31 -06:00
FusionPBX
278f1d7453
Update permissions.php
2024-04-20 21:59:04 -06:00
FusionPBX
955a840ad6
Update permissions.php
...
If the $_SESSION['permissions'] isset then use it to prevent round trips to the database.
2024-04-20 20:54:06 -06:00
FusionPBX
09719c7f36
Update authentication, groups and permissions classes
2024-04-20 16:51:53 -06:00
frytimo
ff55a36980
after doing a database restore, the permission may not yet exist ( #6930 )
2024-03-28 08:59:30 -06:00
FusionPBX
2a0f2f53a0
Update assigned method use SQL IN
2023-11-23 11:51:47 -07:00
FusionPBX
4d1194828d
Simplify the permissions class
2023-09-21 12:07:32 -06:00
fusionate
518c32efe6
Misc: Mitigate PHP 8.1 warnings.
2023-09-20 20:49:27 +00:00
FusionPBX
f6b92fc565
Bypass permission check for command line
2023-09-14 15:42:56 -06:00
FusionPBX
11df74853a
Change variable from permission to permission_name
2023-09-11 11:54:36 -06:00
FusionPBX
2c5724c6ed
Add new class methods and use them
2023-09-11 01:45:19 -06:00
fusionate
bc34789bdc
Permission [Class] - Updates for PHP 8.1
2023-05-16 18:54:27 +00:00
Mafoo
70cfac5876
remove debug lines in permissions ( #2658 )
...
because application defaults is now captured for output these debug
lines show up when used. This removes them
2017-06-09 13:32:31 -06:00
FusionPBX
b9f932e8e0
Update permissions.php
2016-10-01 12:07:47 -06:00
FusionPBX
a537084752
Update permissions.php
2016-09-12 15:42:28 -06:00
FusionPBX
79bf6f56a0
Update permissions.php
2016-09-12 15:40:02 -06:00
Harry G. Coin
bda6861f88
\r\n --> \n
...
Cause all the .php files containing lines ending with \r\n to instead end with \n.
DYI with:
find fusionpbx -type f -name '*.php' -exec dos2unix '{}' \;
2016-04-25 20:30:23 -05:00
mafoo
1726744f4e
WhitespaceClean-resources/classes
...
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:08:26 +00:00
Mark Crane
26f643ed31
Additional work with temporary permissions.
2015-04-29 21:45:05 +00:00
Mark Crane
66b9b59d44
Fix the delete method.
2015-04-29 07:30:58 +00:00
Mark Crane
b175fbfec9
Update the permission delete method one more time.
2015-04-29 07:06:23 +00:00
Mark Crane
4e0779d31c
Modify the delete permission.
2015-04-29 06:33:48 +00:00
Mark Crane
c931201a04
Add a new permission class.
2015-04-29 06:24:04 +00:00