Welcome, Guest. Please login or register.
July 29, 2010, 07:21:03 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem Website Baker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite .
119281 Posts in 17081 Topics by 9086 Members
Latest Member: Emiliano
* Home Help Search Login Register
+  WebsiteBaker Community Forum
|-+  English
| |-+  Help & Support (Moderators: Argos, BerndJM)
| | |-+  BUG: Problems changing template for a single page
Pages: [1] Go Down Print
Author Topic: BUG: Problems changing template for a single page  (Read 348 times)
Monky

Offline Offline

Posts: 44



WWW
« on: February 15, 2010, 05:07:50 PM »

Hello everyone,
I am trying to give a single page a different template than all the rest of the website. I have encountered the following problem:
When I go to the "change settings" of that page and open the drop-down menu "Template" I only see three entries:
Code:
Default settings
-------------------
MyCurrentTemplate
I checked out the WB code behind this listing and it looks like it is a permission problem. The weird thing about it: I am the site admin (in the group administrators).
I tried several things and found this:
When I add my (administrator) user to another group and give that other group the right to use a different template, THEN the other template is shown in the listing.

To me this looks like a BUG: Administrator should have access to all installed templates?!
Since one cannot change the permissions for the group "administrators" its impossible to add this  cool

Maybe someone can verify this before I create a ticket.

Cheers,
Sebastian
« Last Edit: February 15, 2010, 09:57:41 PM by Monky » Logged
chio

Offline Offline

Posts: 1873


WWW
« Reply #1 on: February 15, 2010, 05:10:14 PM »

There is a known issue:
If a template has the same name like a module (!) you cannot choose it.
Logged

oeh

Offline Offline

Posts: 157


German Pischer's, what's life without them?


« Reply #2 on: February 15, 2010, 06:11:13 PM »

Have a read HERE
and HERE
and Here
Logged

Regards
oeh ;-}>
Monky

Offline Offline

Posts: 44



WWW
« Reply #3 on: February 15, 2010, 09:56:54 PM »

I know there gets a lot RTFM bullsh!t posted in this forum but please guys - did you even read my post?  rolleyes

I have found a way to reproduce the situation and the way I see it it's a BUG.

How to reproduce it:
  • Get a fresh installation of WB (I used the portable Websitebaker locally on my comp - very convenient thanks!) Alternatively just test this in your WB installation.
  • Log onto the back-end as admin
  • Check the modify page of the (any) WYSIWIG page. The dropdown "Templates" shows all the installed modules.
  • Now go to the user management and create a new group "TheGroup" with access only to one template (uncheck the other boxes).
  • Create a new user and put that user in the Administrator group AND TheGroup (using shift selection).
  • log off as admin, log on as that newly created user
  • Go to the modify page of the WYSIWIG page visited above. Check the "Templated" dropdown. You will only see the one template that is allowed for TheGroup - but this user is still an admin!

The gist of this:
Putting a user in multiple groups should never narrow his rights, only broaden. There is a bug in the function that checks user rights.

Regards,
Sebastian
Logged
kweitzel
Forum administrator
*****
Online Online

Posts: 5822


WWW
« Reply #4 on: February 15, 2010, 11:37:31 PM »

Hi Sebastian, you are right about rights, they should propagate up. Would you please post a ticket to the project site? Thanks.

cheers

Klaus
Logged

Monky

Offline Offline

Posts: 44



WWW
« Reply #5 on: February 16, 2010, 01:25:26 AM »

done: http://project.websitebaker2.org/ticket/940
Logged
Pages: [1] Go Up Print 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
-->