Mailing List Archive

Categories not showing
I have in my Bric category table:
[id] [site__id] [directory] [uri] [name] [parent_id] [asset_grp_id] [active]
1820 1224 "syllabi" "/intranet/departments/academics/syllabi/" "Syllabi" 1819 2657 TRUE
1912 1224 "bridge" "/intranet/departments/academics/syllabi/bridge/" "Course Syllabi (Bridge)" 1820 2864 TRUE
1914 1224 "gen_eds" "/intranet/departments/academics/syllabi/gen_eds/" "Course Syllabi (Gen Eds)" 1820 2885 TRUE
1915 1224 "generic" "/intranet/departments/academics/syllabi/generic/" "Course Syllabi (Generic)" 1820 2886 TRUE
1916 1224 "lpn_lvn" "/intranet/departments/academics/syllabi/lpn_lvn/" "Course Syllabi (LPN/LVN)" 1820 2887 TRUE
1917 1224 "online" "/intranet/departments/academics/syllabi/online/" "Course Syllabi (Online)" 1820 2888 TRUE

When I attempt to edit the category permissions for a user group in Bricolage, and I list the site categories for site 1224 in the UI, this is the list:
/intranet/departments/academics/syllabi/gen_eds/
/intranet/departments/academics/syllabi/generic/
/intranet/departments/academics/syllabi/lpn_lvn/
/intranet/departments/academics/syllabi/online/

** Notice that "1912:bridge" is missing. All content added to Bricolage in this category cannot be seen by the aforementioned user group because I cannot give them access.

I am stuck as far as troubleshooting. Can someone offer some insight into how the permissions screen gets it's list of categories?

Thanx,
Adam
RE: Categories not showing [ In reply to ]
Well, I sort of answered my own question.

The grp table showed the "Site 1224 Category Assets" item as inactive. I changed it to active, and the problem went away.

So, now a different 2-part question:
What do the secret and permanent Boolean values represent within the Bricolage interface on the grp table?
Is it likely that this became inactive because at some point in the past I had deleted this category, and then instead of reactivating it I recreated it?

Thank you again for your time,
Adam

-----Original Message-----
From: Adam Wilson [mailto:adam@RFXTechnologies.com]
Sent: Monday, June 21, 2010 4:18 PM
To: devel@lists.bricolage.cc
Subject: Categories not showing

I have in my Bric category table:
[id] [site__id] [directory] [uri] [name] [parent_id] [asset_grp_id] [active]
1820 1224 "syllabi" "/intranet/departments/academics/syllabi/" "Syllabi" 1819 2657 TRUE
1912 1224 "bridge" "/intranet/departments/academics/syllabi/bridge/" "Course Syllabi (Bridge)" 1820 2864 TRUE
1914 1224 "gen_eds" "/intranet/departments/academics/syllabi/gen_eds/" "Course Syllabi (Gen Eds)" 1820 2885 TRUE
1915 1224 "generic" "/intranet/departments/academics/syllabi/generic/" "Course Syllabi (Generic)" 1820 2886 TRUE
1916 1224 "lpn_lvn" "/intranet/departments/academics/syllabi/lpn_lvn/" "Course Syllabi (LPN/LVN)" 1820 2887 TRUE
1917 1224 "online" "/intranet/departments/academics/syllabi/online/" "Course Syllabi (Online)" 1820 2888 TRUE

When I attempt to edit the category permissions for a user group in Bricolage, and I list the site categories for site 1224 in the UI, this is the list:
/intranet/departments/academics/syllabi/gen_eds/
/intranet/departments/academics/syllabi/generic/
/intranet/departments/academics/syllabi/lpn_lvn/
/intranet/departments/academics/syllabi/online/

** Notice that "1912:bridge" is missing. All content added to Bricolage in this category cannot be seen by the aforementioned user group because I cannot give them access.

I am stuck as far as troubleshooting. Can someone offer some insight into how the permissions screen gets it's list of categories?

Thanx,
Adam
RE: Categories not showing [ In reply to ]
Hi Adam,

I had the same issue a while ago with the IFEX site. I accidentally
deleted a category, but couldn't re-create it (because the UI said the
URI was already taken), so I set it to active in the database. (I
suspect the same thing is what happened to you.)

Everything worked fine for global admins (because their permissions
don't get checked), but other users couldn't use that category, because
the record in grp was still inactive. Your fix was the same as mine.

There's a "Site $n Category Assets" record in grp for every category. So
making sure you reactivate both records is key to successfully bringing
back a deleted cat.

The "permanent" entries in grp are for infrastructure groups, such as
"All Contributors." I'm a little cloudier on "secret," but I think it
means groups that are hidden from user control, but manipulated by
Bricolage itself.


Hope this helps,

Bret




On Mon, 2010-06-21 at 16:31 -0400, Adam Wilson wrote:
> Well, I sort of answered my own question.
>
> The grp table showed the "Site 1224 Category Assets" item as inactive. I changed it to active, and the problem went away.
>
> So, now a different 2-part question:
> What do the secret and permanent Boolean values represent within the Bricolage interface on the grp table?
> Is it likely that this became inactive because at some point in the past I had deleted this category, and then instead of reactivating it I recreated it?
>
> Thank you again for your time,
> Adam
>
> -----Original Message-----
> From: Adam Wilson [mailto:adam@RFXTechnologies.com]
> Sent: Monday, June 21, 2010 4:18 PM
> To: devel@lists.bricolage.cc
> Subject: Categories not showing
>
> I have in my Bric category table:
> [id] [site__id] [directory] [uri] [name] [parent_id] [asset_grp_id] [active]
> 1820 1224 "syllabi" "/intranet/departments/academics/syllabi/" "Syllabi" 1819 2657 TRUE
> 1912 1224 "bridge" "/intranet/departments/academics/syllabi/bridge/" "Course Syllabi (Bridge)" 1820 2864 TRUE
> 1914 1224 "gen_eds" "/intranet/departments/academics/syllabi/gen_eds/" "Course Syllabi (Gen Eds)" 1820 2885 TRUE
> 1915 1224 "generic" "/intranet/departments/academics/syllabi/generic/" "Course Syllabi (Generic)" 1820 2886 TRUE
> 1916 1224 "lpn_lvn" "/intranet/departments/academics/syllabi/lpn_lvn/" "Course Syllabi (LPN/LVN)" 1820 2887 TRUE
> 1917 1224 "online" "/intranet/departments/academics/syllabi/online/" "Course Syllabi (Online)" 1820 2888 TRUE
>
> When I attempt to edit the category permissions for a user group in Bricolage, and I list the site categories for site 1224 in the UI, this is the list:
> /intranet/departments/academics/syllabi/gen_eds/
> /intranet/departments/academics/syllabi/generic/
> /intranet/departments/academics/syllabi/lpn_lvn/
> /intranet/departments/academics/syllabi/online/
>
> ** Notice that "1912:bridge" is missing. All content added to Bricolage in this category cannot be seen by the aforementioned user group because I cannot give them access.
>
> I am stuck as far as troubleshooting. Can someone offer some insight into how the permissions screen gets it's list of categories?
>
> Thanx,
> Adam
>


--
Bret Dawson
Producer
Pectopah Productions Inc.
(416) 895-7635
bret@pectopah.com
www.pectopah.com