Commit Graph

43 Commits

Author SHA1 Message Date
Luke Hudson
9583918d78 BUGFIX: Rename Database to SS_Database, bug reintroduced post merge 2010-03-03 03:09:13 +00:00
Tom Rix
e3c51b2a89 ENHANCEMENT: Groups can now be associated to multiple subsites. (from r89791) (from r96313) 2010-03-01 22:17:51 +00:00
Tom Rix
6fb9a4e710 ENHANCEMENT: Relabelled global group on Group subsites tab to 'All sites' (from r89145) (from r96310) 2010-03-01 22:15:09 +00:00
Tom Rix
c61d9aa94e MINOR: Fixed no-available-sites edge case (from r88959) (from r96301) 2010-03-01 22:09:17 +00:00
Tom Rix
05c07fc824 BUGFIX: Only show the subsites that you can actually access in the subsite tab of the group. (from r88952) (from r96296) 2010-03-01 22:07:41 +00:00
Tom Rix
dcf683ab33 MINOR added a permission to manage who can edit the subsite a group is associated with (from r88849) (from r96288) 2010-03-01 22:03:55 +00:00
Tom Rix
6b5f6f902d MINOR CHANGE: columns quoted properly (from r88146) 2010-03-01 21:54:36 +00:00
Tom Rix
9e17ce98aa BUGFIX: Removed XSS holes (from r94821) 2010-03-01 21:41:49 +00:00
Tom Rix
d2da1fe03e MINOR i18n'd a whole bunch of the new permission codes (from r90493) 2010-03-01 21:40:26 +00:00
Tom Rix
d677415860 MINOR shuffled permissions around, gave them help text and categorized them. (from r90371) 2010-03-01 21:39:48 +00:00
Tom Rix
05d2e51dfa MINOR updated naming of permissions (from r90328) 2010-03-01 21:39:43 +00:00
Tom Rix
034064ca65 BUGFIX: Fixed migration script for installation of subsite module. (from r89930) 2010-03-01 21:39:04 +00:00
Tom Rix
b99c2c62c4 BUGFIX: Fixed a couple of bugs in the multiple-subsites-per-group function. (from r89803) 2010-03-01 21:38:04 +00:00
Tom Rix
60cc9f9650 ENHANCEMENT: Groups can now be associated to multiple subsites. (from r89791) 2010-03-01 21:37:56 +00:00
Tom Rix
9391485eef ENHANCEMENT: Relabelled global group on Group subsites tab to 'All sites' (from r89145) 2010-03-01 21:34:21 +00:00
Tom Rix
90b2068bcd BUGFIX: Set the SubsiteID on new groups correctly. (from r89103) 2010-03-01 21:33:52 +00:00
Tom Rix
7d46edfd0e API CHANGE: Added includeMainSite argument to Subsite::accessible_sites() and replaced all usage of hasMainSitePermission with this method. (from r88971) 2010-03-01 21:32:37 +00:00
Tom Rix
866e55d574 MINOR: Fixed no-available-sites edge case (from r88959) 2010-03-01 21:27:47 +00:00
Tom Rix
cc11a1fa37 BUGFIX: Only show the subsites that you can actually access in the subsite tab of the group. (from r88952) 2010-03-01 21:26:59 +00:00
Tom Rix
3dc406dcf0 MINOR added a permission to manage who can edit the subsite a group is associated with (from r88849) 2010-03-01 21:26:30 +00:00
Tom Rix
2aebf835ee MINOR allow subsite groups to not be filtered at all via a cookie (from r87883) 2010-03-01 21:16:58 +00:00
Geoff Munn
beffd4e526 BUGFIX: queries changed to use $q as a placeholder for backticks or doublequotes 2009-10-29 01:40:46 +00:00
Geoff Munn
a3beb2cf05 BUGFIX: column names now double quoted 2009-10-27 01:44:19 +00:00
Sam Minnee
3fd2cea285 BUGFIX: Updated module to support 2.4 API changes 2009-10-26 22:04:50 +00:00
Sean Harvey
2b70ef13ea BUGFIX Removed orderby in GroupSubsites decorator that applies the same SubsiteID in the order by clause 2009-07-13 23:17:22 +00:00
Sean Harvey
11fc7dab8b MINOR Whitespace fixes 2009-07-13 23:11:23 +00:00
Sean Harvey
acbfe35f4d BUGFIX Fixed SQL queries with backticks that don't need them, and fixed queries on decorators that require double quote escaping 2009-07-13 23:10:00 +00:00
Sean Harvey
6e1499822f BUGFIX Made GroupSubsites, FileSubsites and SiteTreeSubsites work properly if DataObjectDecorator::load_extra_statics() is defined 2009-06-22 12:03:04 +00:00
Sean Harvey
d48fed9488 MINOR Changed deprecated extraDBFields() on Subsite decorators to extraStatics() 2009-05-20 05:36:14 +00:00
Sam Minnee
b646a104f1 Merged from branches/0.1 2009-05-04 05:03:44 +00:00
Sam Minnee
6037ec56e5 BUGFIX: Fixed subsite query rewriting with trunk query syntax 2009-03-09 09:24:35 +00:00
Sam Minnee
4ba1ce143a BUGFIX: Fixed bug where you couldn't edit templates that had no subdomain.
ENHANCEMENT: Mark global groups in the subsite list, rather than subsite groups.
ENHANCEMENT: When creating a subsite from a template, copy the groups as well as the pages, but leave the groups empty.
2009-02-24 22:09:15 +00:00
Ingo Schommer
fd8c93be2d BUGFIX Changed from implying "(all)" in group cmsfields for "limit subsite access" - if membership in a group with Group->SubsiteID = 0 implies "access all subsites", there is no distinction between explicit limitation and access to all subsites. Introduced a SUBSITE_ACCESS_ALL permission instead 2008-12-01 02:43:57 +00:00
Ingo Schommer
6d25adedc0 ENHANCMENENT Added SiteTreeSubsites->can*() methods for true permission control on model-layer rather than generic controller checks (incl. unit tests)
MINOR documentation
2008-11-24 06:37:22 +00:00
Ingo Schommer
b4aea98d98 ENHANCEMENT Automatically using subsites name in the group title instead of an asterisk (which doesn't really imply any meaning by itself without an index or tooltip) 2008-11-24 04:58:42 +00:00
Ingo Schommer
643a3bd14e ENHANCEMENT Added subsites dropdown to groups in /admin/security to make relation between groups and subsites more obvious and not dependant on (non-editable) defaults set through SubsiteAdmin 2008-11-24 04:04:55 +00:00
Ingo Schommer
5987f151d4 MINOR Documentation for subsites module
BUGFIX Added Subsite::allowed_domains() which selects base_domain() if no custom domains are specified. This avoids having an empty dropdown in the URL domain selection dropdown in SubsitesAdmin
2008-11-24 03:22:01 +00:00
Sam Minnee
46edecfca2 Made GroupSubsites respect disable_subsite_filter, and added an accessor method for 3rd parties to use this functionality. 2008-08-21 05:50:38 +00:00
Sam Minnee
3275d689b9 Made subsite query augmentation more robust - can handle a lack of a where clause
Made SubsiteTest clean up after itself
2008-08-13 04:33:01 +00:00
Sam Minnee
1400ba00b0 Updated Group::canEdit() to only allow editing if you have CMS_ACCESS_SecurityAdmin access on the subsite that owns the group. This is useful for hiding 'global groups' from people that shouldn't edit them. 2007-11-27 04:46:27 +00:00
Sam Minnee
48918d1aca Fixed bug in group extension 2007-09-04 04:12:47 +00:00
Sam Minnee
1b824bf7ba Added Group subsite behaviour and associated changes to the security model 2007-08-31 00:29:25 +00:00
Sam Minnee
5e9b67216f Initial alpha version of the subsites module 2007-08-16 06:38:29 +00:00