Klaus Leithoff
a0cee847a2
small bugfix while getting the grants, since analyzing grants for read/write access in infolog returned less results than expected. this was
...
suggested by Ralf for testing.
2008-01-31 12:23:46 +00:00
Ralf Becker
b44a3f198b
allow to specify a list of groups, to not enumerate
2007-12-21 18:55:37 +00:00
Ralf Becker
4d5d4c42c0
quietend a warning happening if no use set in login
2006-12-25 11:02:54 +00:00
Ralf Becker
afddf22135
fixed doublicate key error, happening with some installs / php-versions on updating or adding acls
2006-10-15 09:21:59 +00:00
Ralf Becker
26fd3d2b97
fixed bug in ACL: grants from a group to an individual were not working and grants from a group to an other group were wrong
2006-09-01 11:03:29 +00:00
Ralf Becker
98d8b30761
rewrite of the accounts classes:
...
- new cleaner AND documented interfaces
- old interfaces are still availible, but depricated
- LDAP backend stores now membership information in LDAP too, and does NO longer require the phpgwAccount schema
- LDAP backend deals now well with LDAP schema in which posixGroup is no structural object (eg. newer SuSE distros)
- password from users are done now binded as that user, so if you dont need/use our admin to manage accounts, you can give a root-dn which only allows to search&read accounts
2006-06-06 23:42:36 +00:00
Ralf Becker
6922784f83
new $enum_group_acl parameter for acl::get_grants: should group acls be returned for all members of that group, default yes
2006-04-23 14:46:38 +00:00
Ralf Becker
43ae18fb7a
finding the db-object from setup too
2005-11-24 20:48:31 +00:00
Ralf Becker
d8932b3ad3
calling invalidate_session_cache only if it exists (setup does not have/need it)
2005-11-24 20:08:09 +00:00
Cornelius Weiß
a52d78d66b
fixed typo
2005-11-10 21:36:51 +00:00
Ralf Becker
c85d34c0fe
changed the following table-names:
...
- phpgw_accounts --> egw_accounts
- phpgw_acl --> egw_acl
- phpgw_log(_msg) --> egw_log(_msg)
- phpgw_config --> egw_config
- phpgw_applications --> egw_applications
This requires code-changes in many apps. Quite often I was able to replace the db access, with calls to the appropreate classes.
2005-11-02 11:45:52 +00:00
Ralf Becker
b82ac2c4d6
added function to invalidate the session-cache if:
...
- global config (egw_info[server]) changes
- user prefs change
- acl of the current user changes
2005-07-22 09:05:01 +00:00
Ralf Becker
93c063bd6c
- applied patch from cornelius Weiss: fixes some probs with xmlrpc too
...
- small documentation update
2005-04-13 08:53:42 +00:00
Ralf Becker
2c300e8cd7
fixed bug of not removable apps in the user management
2005-03-30 14:42:32 +00:00
Ralf Becker
404ebd1a5a
new function to get all locations for a given app and user
2005-03-29 15:30:08 +00:00
Ralf Becker
7288defaaf
the default value for $accountid has to be '', as get_account_id returns all integer (0 too) unchanged
2005-03-12 17:55:48 +00:00
Ralf Becker
12e4740941
rewrote AND documented the ACL class with new DB functions to fix the problems pointed out by GulfTech
...
I backported them to 1.0.0 too, but will give it a view days testing on my server and egroupware.org, before I commit them
2005-03-12 16:30:25 +00:00
Ralf Becker
9c091abd5b
upps
2005-03-07 17:06:01 +00:00
Ralf Becker
436a5635d2
1) $GLOBALS['phpgw{_info}'] ==> $GLOBALS['egw{_info}']
...
2) rewrote some methods with new db-functions
3) add possibility to delete an app/location for all accounts
4) fixed get_location_list_for_id() method (it was not returning all locations)
2005-03-07 16:59:32 +00:00
Ralf Becker
021b1314c7
fix for php5
2005-02-12 14:37:25 +00:00
Ralf Becker
bb4c9f46d4
also deleting the memberships of a group
2004-08-21 16:17:04 +00:00
Ralf Becker
6b8f6a3d87
removing all it's acl-rights if an account gets deleted, admin only removed the run-rights, but not the grants or other rights
2004-08-07 12:46:58 +00:00
reinerj
48f840d7de
move from old projct to new one
2004-05-05 12:06:13 +00:00
Miles Lott
4f612cbbde
intval -> (int), replace gettype() and ereg_replace() where possible
2003-12-14 17:07:16 +00:00
Miles Lott
fb3eb50ef8
Close potential security hole for xmlrpc/soap calls
2003-10-18 11:15:48 +00:00
Ralf Becker
7b409a410d
some sql-insertion protection
2003-10-08 00:00:55 +00:00
Lars Kneschke
d1ffe11af9
fix for creating valid sql
2003-09-21 19:43:29 +00:00
Ralf Becker
b8557e49d9
make the phpgw Version-0_9_16-branch HEAD
2003-08-28 14:31:11 +00:00
Ralf Becker
e51acc6ad8
fixed bug, account_id param in constructor was not used
...
merged jengos changes from .16 too
2003-05-17 20:26:49 +00:00
Miles Lott
7143511e21
i sure do like formatting code
2001-12-11 01:14:43 +00:00
skeeter
9165bf5f60
Fix for group accessing calendar events. A few places I removed some extraneous code.
2001-11-29 03:12:01 +00:00
seek3r
0a673cbfaf
allows to look in other apps files
2001-11-12 18:01:42 +00:00
skeeter
26fbf18c3f
Small change to only allow read perms for a group, when viewing calendar events.
2001-10-23 11:10:31 +00:00
skeeter
b1d090de44
This now adds the ability to view an entire groups calendar events.
2001-10-23 10:58:53 +00:00
skeeter
bbb50109c0
More fixes for php3 support.
2001-09-07 19:18:03 +00:00
skeeter
4976ec2f54
Fixes for the caching of account_id's.
2001-09-04 03:15:03 +00:00
skeeter
d2a5441ed8
Now using GLOBALS.
2001-09-01 23:42:16 +00:00
Miles Lott
8c570fcb19
php3 fix, rename accounts->memberships() to accounts->membership() to avoid conflict with class var
2001-08-04 14:26:10 +00:00
seek3r
3d005e094e
too tired to think, so dev stopped here for the night
2001-07-13 08:37:56 +00:00
skeeter
dde10d310a
Fixes proposed by ralfbecker on the ACL.
2001-06-30 14:55:46 +00:00
skeeter
36ee6b1dc2
fix for bug #435349 .
2001-06-23 02:00:12 +00:00
skeeter
4546f7aaa1
Applying a patch from ralfbecker. This gives the admin the ability to grant ACL rights at the group level.
2001-06-18 03:03:48 +00:00
skeeter
dbb58d801c
Fixed a problem where the type was trying to be changed from Boolean to String. Shouldn't work in php3.
2001-06-07 12:10:15 +00:00
seek3r
4b1390eb0f
had to make several changes and cleanups for php3 compatibility
2001-05-31 10:11:18 +00:00
skeeter
dc7578a39a
Various cleanups. Trying to remove some warnings when generating php errors to a file.
2001-05-14 03:54:40 +00:00
Miles Lott
637b1c04b5
Formatting
2001-05-02 12:28:10 +00:00
skeeter
730d467703
Changed it for an initial instantiation
2001-03-21 05:09:14 +00:00
skeeter
e18b447599
Setting default values if nothing passed.
2001-03-21 04:41:20 +00:00
skeeter
111a3f1e2f
removed extraneous parameter
2001-03-20 04:46:40 +00:00
skeeter
4b31a3a93b
fix in get_grants() if the user is by some unknown reason, not associated to a group
2001-03-19 20:50:46 +00:00