You are in the right chapter...

But this will be more clear :

Authorization

Once a new user is registered, a new group is created to contain the user.
The role of the new user is conventionally "user_[id]" where [id] is the id
of the newly created id. The creation of the group can be disabled with

1.

auth.settings.create_user_groups = False

although we do not suggest doing so.


Richard

On Tue, Feb 8, 2011 at 1:39 PM, Sean Brewer <[email protected]> wrote:

> OK. That makes sense, and it basically talks about the kind of thing I want
> to do here:
> http://web2py.com/book/default/chapter/08#Authorization-and-CRUD
>
> I guess I should have that chapter a bit more carefully. Thanks!
>
>
>
> On Tue, Feb 8, 2011 at 12:53 PM, Richard Vézina <
> [email protected]> wrote:
>
>> By default a specific group is created for each user... You can use this
>> group for this.
>>
>> Richard
>>
>>
>> On Tue, Feb 8, 2011 at 12:32 PM, Sean Brewer <[email protected]> wrote:
>>
>>> Hello,
>>>
>>> I am very new to web2py and I'm learning using the application wizard
>>> (which is awesome) and the web2py book.
>>>
>>> Anyway, my question is that is there a way to restrict the viewing and
>>> editing of records in a table to only the user that created the record? If
>>> so, is there a way to do it with the wizard? I'm fairly certain you can
>>> restrict record viewing/editing at the group level, but I'm not sure how to
>>> restrict viewing/editing to the users that created the record?
>>>
>>> Thanks,
>>>
>>> Sean
>>>
>>
>>
>

Reply via email to