[prog] tables & mysql

Anthony Gorecki anthony at futurepoint.com
Wed Feb 18 22:17:19 EST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On February 18, 2004 9:09 pm, wolf wrote:
> permissions, it would follow the same idea as permissions on a file in
> linux.  Basically,
> I would like the idea to work out that each class has a calendar and
> only the instructor
> to the class may edit it, but each student in the class would be
> allowed to view it.

The easiest method would be to create an integer field and assign a certain 
set of permissions to any given number. If you then needed to set multiple 
permissions for the same item, you could substitute the integer field for a 
varchar field and treat each character as a separate permission.


- -- 
Best Regards,

Anthony Gorecki
"Freedom through knowledge."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.4 (GNU/Linux)

iD8DBQFANEbj1YBSMGhoIMkRAiLWAJ9tOIhe6FEk1DH0aRaI5iz7kgFKcwCfcuGb
bTx4L6HOOHWRI04X2zc4TSY=
=fphq
-----END PGP SIGNATURE-----


More information about the Programming mailing list