NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
can get very complicated and application specific (Score:2)
Re:can get very complicated and application specif (Score:2)
You can apply general rules for the general cases and apply subclassing or plugins or triggers or whatever to handle the edge cases.
It boils down to can this person or group do this action on this data (or just do this action).
@JAPH = qw(Hacker Perl Another Just);
print reverse @JAPH;
Re:can get very complicated and application specif (Score:2)
To apply that rule means knowing how the corporate/business relationships are mapped, which fields determine a transaction, how to determine the aggregate total value of the components of a transaction, ... The rules would have to be written in something like SQL, with a database description of the data involved before a generic authorization module could be us
Re:can get very complicated and application specif (Score:2)
In this scenario, the ammount may be different for each type of transaction. It would be better for the application to check the authorisation using a standard interface but handling the specifics itself.
@JAPH = qw(Hacker Perl Another Just);
print reverse @JAPH;
Reply to This
Parent