Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

admin section becoming inaccessible when setting permissions


Reply


778 Views

Avatar
qlex

Community Member, 68 Posts

22 July 2009 at 12:27am

Hi,
i have stumbled upon a serious problem. The worst thing is that this is something my client could have done if i went live with website now.

I have created several groups (administrators with full rights) and two user groups (each with access to content and files&images sections).

Then i logged in as admin to cms and used "only those people (choose from list) option to assign rights in the following manner:
- admin has access to all
- user "news" has access to blogholder "news" in main menu
- user "jobs" has access to other blogholder in 2nd level of menu

saved and published, but noticed that when i log out and in again as admin, the option "only those people" is selected, however when i open dropdown (where all groups are visible), it is empty and has no checked radio buttons next to groups.

i logged in as "news" user and all fields in sitetree were greyed-out, making it impossible to add blogentries.

for some reason, when i wanted to login again, i got "Website Error" with following code.

Please help as this is something that frightened me a bit.. Actually i just did soemthing my client could have done himself and blocked access to /admin ?

And this could be also a bug i want to open a new ticket - the permissions seem to dissapear ?

Thanx,
Qlex

[User Error] Uncaught Exception: Object->__call(): the method 'performreadonlytransformation' does not exist on 'FieldSet'
GET /admin/

Line 515 in /home/wwwztm/server/sapphire/core/Object.php
Source

506             case isset($config['function']) :
507                return $config['function']($this, $arguments);
508             
509             default :
510                throw new Exception (
511                   "Object->__call(): extra method $method is invalid on $this->class:" . var_export($config, true)
512                );
513          }
514       } else {
515          throw new Exception("Object->__call(): the method '$method' does not exist on '$this->class'");
516       }
517    }
518    
519    // -----------------------------------------------------------------------------------------------------------------
520    
521    /**