Making a package on top. I'm doing all of my development independent of the
arches and arches_hip packages that are in the virtual environment.  Lots
of reasons for this, but the most obvious one is that I have a virtualenv
on my laptop and a separate one on the production server, and I don't want
to have to make changes to both of them.

Because the node-level permission creation is built directly into the
resource graph loading function, I ended up just adding a function to my
setup.py file that finds all existing permissions and groups that have
already been created in installation process and deletes them.  Then I have
another function that builds my own permissions from scratch.

Adam

On Thu, Apr 28, 2016 at 11:23 AM, Alexei Peters <[email protected]> wrote:

> Hi Adam,
> Are you making a package on top of HIP or modifying HIP directly?
> -Alexei
>
>
> Director of Web Development - Farallon Geographics, Inc. - 971.227.3173
>
> On Wed, Apr 6, 2016 at 12:25 PM, Adam Cox <[email protected]> wrote:
>
>> Hello all, I'm working on creating a different permission system than is
>> included in Arches-HIP, and I know how to create permissions, groups, and
>> users with new functions in my own setup.py, however, I'm not sure how to
>> stop Arches from making the default 'edit' and 'read' groups, and creating
>> all of the the node level permissions, without tinkering with the virtual
>> environment.
>>
>> An alternative approach would be to force the deletion of those two
>> groups and all of the existing permissions during the install process prior
>> to creating my own, but I'm not sure how to do that either.
>>
>> Any help is appreciated!
>> Adam
>>
>> --
>> -- To post, send email to [email protected]. To
>> unsubscribe, send email to [email protected].
>> For more information, visit
>> https://groups.google.com/d/forum/archesproject?hl=en
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Arches Project" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
-- To post, send email to [email protected]. To unsubscribe, send 
email to [email protected]. For more information, 
visit https://groups.google.com/d/forum/archesproject?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to