[pLog-svn] Permissions in LT 1.2

Reto Hugi plog at hugi.to
Sun Nov 5 20:50:47 GMT 2006


On 05.11.2006 21:01, Oscar Renalias wrote:
 >> this means, that we need to switch to the created user and
>> activeate the
>> login. And I don't get why we have that checkbox as we have a user
>> status (active, disabled and unconfirmed) for that.
>> Oh, and what exactly is "Allow access to this blog" doing?
> 
> If you want to temporarily disallow a user from logging into let's  
> say your blog, then instead of removing all permissions and adding  
> them again, you can always remove the "allow access to this blog"  
> permission while keeping all others. This permission effectively  
> allows/disallows a user to log into a blog no matter what other  
> permissions he might have.

ok, but then I don't understand why this option is only available under
administration->Site Users and not Control Centre->Blog Users. Shouldnt'
this be something the blog owner can change? ("this blog" would make
more sense then, too)

> Can you post the exact steps needed to reproduce this? It might be  
> just an issue with a class not being included at the right moment.

Steps I do:
1. Create user "testuser" and add it to blog "Test Blog" (owned by admin
user)
2. "edit user" and check "Allow access to this blog" "user is allowed to
log in"
3. go to BlogUsers->testuser check permission for "add new posts"
4. logout
5. login as testuser
6. go the the only option "new post"
7. see the error:
Fatal error: UserPermission::getPermissionName() [<a
href='function.getPermissionName'>function.getPermissionName</a>]: The
script tried to execute a method or access a property of an incomplete
object. Please ensure that the class definition &quot;Permission&quot;
of the object you are trying to operate on was loaded _before_
unserialize() gets called or provide a __autoload() function to load the
class definition in
p:\server2go\htdocs\lt\class\dao\userpermission.class.php on line 92


BTW: this missing include I commited is not related to this issue


More information about the pLog-svn mailing list