i guess just a real world exmple - very simple...

for instance - in this example:


session.Store(new AuthorizationUser
{
    Id = "Authorization/Users/DrHowser",
    Name = "Doogie Howser",
    Roles = { "Authorization/Roles/Doctors" },
    Permissions =
            {
                new OperationPermission
                {
                    Allow = true,
                    Operation = "Patient/View"
                    Tag = "Clinics/Kirya"
                },
            }
});



where does "Authorization/Users/DrHowser" come from? is it a magic
string i create? is there a strict format to it? this sort of code
wouldn't exist in a real app, we'd create a user and then start
working with the id assigned to that user - if i could see it being
used in a real world situation it would make it much clearer i
guess...


even if it were just create user, create auth stuff, then using the
new docs, show what it can do.


On Thu, Jan 6, 2011 at 3:07 PM, Ayende Rahien <[email protected]> wrote:

> There are the tests, but I am not aware of any publicly available samples.
> What are you looking for, specifically?
>
> On Thu, Jan 6, 2011 at 1:52 PM, Wayne Douglas 
> <[email protected]>wrote:
>
>> Hi
>>
>> Are there any authorization bundle examples kicking about anywhere?
>>
>> --
>> Cheers,
>>
>> w://
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Rhino Tools Dev" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<rhino-tools-dev%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/rhino-tools-dev?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Rhino Tools Dev" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rhino-tools-dev%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rhino-tools-dev?hl=en.
>



-- 
Cheers,

w://

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rhino-tools-dev?hl=en.

Reply via email to