-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thanks for that Alexander but one more
What about page specific so that it will filter down for the aticles
that I call from that page?
I'm asuming that I just put what I need in the page element.
So if I have a page element of <(auth)> for each page that I want to
protect and in that I put
$perm->check("level"); where level is specified inline and not
called from anywhere else.
how would I make the call from code_init to check for the <(auth)>
element of whatever page that I was requesting. All the while if
there is no <(auth)> element for the page it will default to a piece
of code that needs to be in the code-init, lets call it code-piece.
How would I go about doing that.
Am I right in asuming that it will choose the correct page element
for the page that I'm requesting?
Thanks for your help
Miles Scruggs
Hello Miles,
you wrote:
> I think that I�m getting this. My main use for these elements at
> the moment is phplib sessioning and authentication. In the element
> I
> need be able to put
> $perm->check("level");
> where level will page specific, so that I can control who has
> access to each page.
> Could I make this specific for articles? I have no use for this
> yet, but I just am curious.
You can use extra fields in article record to store 'level' info and
use those extra1, extra2, extra3 article's values to be article
specific.
Best regards,
Alexander mailto:[EMAIL PROTECTED]
- --
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.2 for non-commercial use <http://www.pgp.com>
iQA/AwUBON6OLwr+l9aWyTEAEQIN+QCfXNx0NmZSVreI0K8pDgZQxBRLT/AAnRqY
XSwKlDxN4iXhFgpd3Fc7KEQ2
=kBsV
-----END PGP SIGNATURE-----
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]