|
Lee,
here's a Fusedoc showing a permission needed by a fuse. For maximal reusability
and maintainability, the fuse makes no assumptions about HOW someone got a
permission, whether by belonging to group A or group B or whether granted the
permission without belonging to any group.
<in>
<Boolean name="canDeleteDocument" />
</in>
Here
we have a concept of a permission that has no explicit connection with a user
group. Any application that wants to use this fuse can do so, simply by
setting a value of TRUE or FALSE for this permission. How's the value set? The
fuse doesn't care. Maybe the user belongs to a privileged user group; maybe the
user is the uncle of the chief programmer; maybe this is a game and
the values for canDeleteDocument are generated randomly (stranger
things have happened).
Or say
we use the fuse in two applications. In one application, group A HAS permission
to delete a document, but in another application, group A does NOT have
permission to delete a document. Now, you have to go into the code and start
making changes to the fuse. We used to hardcode fuseactions into fuses, but we
found the introduction of XFAs made our code more adaptable and reusable.
The concept of permissions as distinct from groups does the same thing for
security.
==^================================================================ This email was sent to: [email protected] EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9 Or send an email to: [EMAIL PROTECTED] T O P I C A -- Register now to manage your mail! http://www.topica.com/partner/tag02/register ==^================================================================ |
Title: Message
- RE: Just Wondering Tim Heald
- RE: Just Wondering Kay Smoljak
- Re: OT: Just Wondering James Husum
- Re: OT: Just Wondering Toby Tremayne
- RE: secure tag and permissions hal helms
- RE: secure tag and permissions BORKMAN Lee
- RE: secure tag and permissions Lee Borkman
- RE: secure tag and permissions Roger B.
- RE: secure tag and permissions hal helms
- Re: secure tag and permissions Lee Borkman
- Re: secure tag and permissions hal helms
- Re: secure tag and permissions Lee Borkman
- RE: secure tag and permissions hal helms
- Re: secure tag and permissions Lee Borkman
- Re: secure tag and permissions Steve Nelson
- RE: secure tag and permissions Tim Heald
- RE: secure tag and permissions hal helms
- Re: secure tag and permissions Steve Nelson
- Re: secure tag and permissions David Huyck
- Re: secure tag and permissions Lee Borkman
- Re: secure tag and permissions Steve Nelson
