py-rsbac
14 years agoAdded access to effective ACL rights.
Frédéric Jolliton [Sun, 29 Oct 2006 12:38:30 +0000 (12:38 +0000)]
Added access to effective ACL rights.

14 years agoAdded _utils.{ttlToTuple,tupleToTtl}. Fixed TTL uses in the rc module.
Frédéric Jolliton [Sat, 28 Oct 2006 23:33:11 +0000 (23:33 +0000)]
Added _utils.{ttlToTuple,tupleToTtl}. Fixed TTL uses in the rc module.

14 years agoUpdated TTL behavior to be consistent everywhere.
Frédéric Jolliton [Fri, 27 Oct 2006 13:25:31 +0000 (13:25 +0000)]
Updated TTL behavior to be consistent everywhere.

Previously, TTL were represented in 2 different ways:

 * None or a positive integer (where None meant unlimited TTL)

 * False, True or a positive integer (where False mean undefined TTL,
 and True mean unlimited TTL)

The latter is now the default behavior for all the TTLs.

Low level functions still use "raw" TTL (0 for unlimited TTL and
a positive integer otherwise.)

14 years agoUpdated acl.AclBy{Id,Name} to return default entries.
Frédéric Jolliton [Fri, 27 Oct 2006 13:19:36 +0000 (13:19 +0000)]
Updated acl.AclBy{Id,Name} to return default entries.

14 years agoAdded rsbac.auth module.
Frédéric Jolliton [Fri, 27 Oct 2006 13:12:40 +0000 (13:12 +0000)]
Added rsbac.auth module.

14 years agoFixed tests to work with latest code.
Frédéric Jolliton [Fri, 27 Oct 2006 13:00:52 +0000 (13:00 +0000)]
Fixed tests to work with latest code.

14 years agoAdded acl.EffectiveAclBy{Id,Name} classes.
Frédéric Jolliton [Fri, 27 Oct 2006 12:56:43 +0000 (12:56 +0000)]
Added acl.EffectiveAclBy{Id,Name} classes.

14 years agoAdded the roles module, including a SystemRole class. Updated objects to use it.
Frédéric Jolliton [Thu, 26 Oct 2006 01:40:27 +0000 (01:40 +0000)]
Added the roles module, including a SystemRole class. Updated objects to use it.

14 years agoAdded /= operator to flags classes (to remove flags).
Frédéric Jolliton [Thu, 26 Oct 2006 00:12:52 +0000 (00:12 +0000)]
Added /= operator to flags classes (to remove flags).

14 years agoFixed another attribute definition. Added __weakref__ to RC classes.
Frédéric Jolliton [Wed, 25 Oct 2006 20:14:31 +0000 (20:14 +0000)]
Fixed another attribute definition. Added __weakref__ to RC classes.

14 years agoFixed attributes definition in rc.RoleBase.
Frédéric Jolliton [Wed, 25 Oct 2006 16:09:30 +0000 (16:09 +0000)]
Fixed attributes definition in rc.RoleBase.

14 years agoMoved DAZ cache flushing function to its own module.
Frédéric Jolliton [Wed, 25 Oct 2006 12:58:08 +0000 (12:58 +0000)]
Moved DAZ cache flushing function to its own module.

14 years agoMade um.addUser/um.addGroup return um.User and um.Group instance.
Frédéric Jolliton [Wed, 25 Oct 2006 12:56:03 +0000 (12:56 +0000)]
Made um.addUser/um.addGroup return um.User and um.Group instance.

14 years agoAdded __slots__ to all classes.
Frédéric Jolliton [Wed, 25 Oct 2006 12:55:03 +0000 (12:55 +0000)]
Added __slots__ to all classes.

14 years agoPoint to the online documentation.
Frédéric Jolliton [Tue, 24 Oct 2006 22:49:19 +0000 (22:49 +0000)]
Point to the online documentation.

14 years agoFixed getResult* and getRessource* sets of functions.
Frédéric Jolliton [Tue, 24 Oct 2006 16:20:18 +0000 (16:20 +0000)]
Fixed getResult* and getRessource* sets of functions.

14 years agoPut generic path in extra/gen.sh.
Frédéric Jolliton [Mon, 23 Oct 2006 17:59:06 +0000 (17:59 +0000)]
Put generic path in extra/gen.sh.

14 years agoUpdated setup metadata.
Frédéric Jolliton [Mon, 23 Oct 2006 17:58:30 +0000 (17:58 +0000)]
Updated setup metadata.

14 years agoUpdated rsbac.errors to use getErrorName.
Frédéric Jolliton [Mon, 23 Oct 2006 11:55:14 +0000 (11:55 +0000)]
Updated rsbac.errors to use getErrorName.

14 years agoCosmetic changes to some docstring and comment.
Frédéric Jolliton [Sun, 22 Oct 2006 20:23:19 +0000 (20:23 +0000)]
Cosmetic changes to some docstring and comment.

14 years agoAdded functions to ease creation of new network templates.
Frédéric Jolliton [Sun, 22 Oct 2006 20:21:54 +0000 (20:21 +0000)]
Added functions to ease creation of new network templates.

- Renamed newNetworkTemplate to createNetworkTemplate
- Added findUndefinedNetworkTemplate
- Added findUndefinedNetworkTemplates
- Added newNetworkTemplate

14 years agoTiny change for rc.Role.__repr__.
Frédéric Jolliton [Sun, 22 Oct 2006 18:41:24 +0000 (18:41 +0000)]
Tiny change for rc.Role.__repr__.

14 years agoAdded findUnnamedType{s,}, cloneType, Type.copyTo and Type.clone.
Frédéric Jolliton [Sun, 22 Oct 2006 15:54:08 +0000 (15:54 +0000)]
Added findUnnamedType{s,}, cloneType, Type.copyTo and Type.clone.

14 years agoFix attribute name in rc.Role.
Frédéric Jolliton [Sun, 22 Oct 2006 15:15:27 +0000 (15:15 +0000)]
Fix attribute name in rc.Role.

14 years agoFix TTL conversion for um.User and um.Group.
Frédéric Jolliton [Sun, 22 Oct 2006 11:02:40 +0000 (11:02 +0000)]
Fix TTL conversion for um.User and um.Group.

14 years agoAdded a comment about transaction internal use.
Frédéric Jolliton [Sat, 21 Oct 2006 23:19:38 +0000 (23:19 +0000)]
Added a comment about transaction internal use.

14 years agoChanged behavior of the "ttl" argument of the withTransaction function.
Frédéric Jolliton [Sat, 21 Oct 2006 23:03:45 +0000 (23:03 +0000)]
Changed behavior of the "ttl" argument of the withTransaction function.

14 years agoAdded "selfAcl" attribute to NetworkTemplate.
Frédéric Jolliton [Sat, 21 Oct 2006 17:41:24 +0000 (17:41 +0000)]
Added "selfAcl" attribute to NetworkTemplate.

14 years agoMade UnixSocket similar to other FD sub-types.
Frédéric Jolliton [Sat, 21 Oct 2006 17:40:44 +0000 (17:40 +0000)]
Made UnixSocket similar to other FD sub-types.

14 years agoUpdated objects.NetworkObject. Added objects.defaultNetworkObject.
Frédéric Jolliton [Sat, 21 Oct 2006 14:55:48 +0000 (14:55 +0000)]
Updated objects.NetworkObject. Added objects.defaultNetworkObject.

14 years agoAdded objects.defaultNetworkDevice.
Frédéric Jolliton [Sat, 21 Oct 2006 14:37:07 +0000 (14:37 +0000)]
Added objects.defaultNetworkDevice.

14 years agoAdded objects.default{User,Group,Scd} and "acl" attribute to SCD
Frédéric Jolliton [Sat, 21 Oct 2006 14:28:23 +0000 (14:28 +0000)]
Added objects.default{User,Group,Scd} and "acl" attribute to SCD

14 years agoAdd objects.defaultIpc and "acl" attribute to it.
Frédéric Jolliton [Sat, 21 Oct 2006 13:48:57 +0000 (13:48 +0000)]
Add objects.defaultIpc and "acl" attribute to it.

14 years agoFixed acl.clear() for objects.defaultProcess. Fixed acl.Group._id name.
Frédéric Jolliton [Sat, 21 Oct 2006 13:43:35 +0000 (13:43 +0000)]
Fixed acl.clear() for objects.defaultProcess. Fixed acl.Group._id name.

14 years agolib.g_debug must be False by default.
Frédéric Jolliton [Sat, 21 Oct 2006 13:41:34 +0000 (13:41 +0000)]
lib.g_debug must be False by default.

14 years agoAdded lib.g_withDebugCall to turn off call debug at runtime.
Frédéric Jolliton [Sat, 21 Oct 2006 13:35:12 +0000 (13:35 +0000)]
Added lib.g_withDebugCall to turn off call debug at runtime.

14 years agoAdd objects.defaultProcess and "acl" property to it
Frédéric Jolliton [Sat, 21 Oct 2006 13:19:56 +0000 (13:19 +0000)]
Add objects.defaultProcess and "acl" property to it

14 years agoInitial import
Frédéric Jolliton [Sat, 21 Oct 2006 08:28:48 +0000 (08:28 +0000)]
Initial import