Object helper for Object::Permissions using unix groups
Perl 6
Switch branches/tags
Nothing to show
Latest commit 6da25c3 Nov 4, 2017 @jonathanstowe jonathanstowe Add changes
Permalink
Failed to load latest commit information.
lib/Object/Permission Remove version literal Mar 12, 2016
t Fix for lexical use Dec 20, 2016
.gitignore add precomp Dec 24, 2015
.travis.yml Alter travis config to use zef Aug 2, 2017
Changes Add changes Nov 4, 2017
LICENCE rename LICENCE as en_GB May 30, 2016
META6.json Fix licence Apr 22, 2017
README.md No panda Aug 21, 2017

README.md

Object::Permission::Group

Object helper for Object::Permission using unix groups.

Synopsis

	use Object::Permission::Group; # $*AUTH-USER is derived from $*USER

   # Or:

   Use Object::Permission::Group;

	# Set $*AUTH-USER to one for a specified user
   $*AUTH-USER = Object::Permission::Group.new(user => 'wibble');

Description

This provides a simple implementation of Object::Permission::User to be used with Object::Permission which derives the permissions for the $*AUTH-USER from the users unix group membership.

By default $*AUTH-USER is initialised based on the value of $*USER (i.e. the effective user,) but it can be set manually with the permissions of an arbitrary user (as in the second example above.)

Installation

Assuming you have a working Rakudo Perl 6 installation you should be able to install this with zef :

# From the source directory

zef install .

# Remote installation

zef install Object::Permission::Group

Support

Suggestions/patches are welcomed via github at:

https://github.com/jonathanstowe/Object-Permission-Group/issues

Licence

This is free software.

Please see the LICENCE file in the distribution

© Jonathan Stowe 2015, 2016, 2017