Re: Possible to share your own roles?

2015-10-13 Thread Igor Savchenko
Sync share roles script was created to distribute and update Scalr pre-made 
roles, it was not designed to use for anything beyond this.

Can you please elaborate on your use case? What problem you're trying to 
solve?

Regards,
Igor

On Wednesday, October 7, 2015 at 8:54:12 AM UTC-7, Ben West wrote:
>
> I see from this wiki page there is the ability to import pre-defined, 
> shared roles provided by Scalr.net:
>
> https://scalr-wiki.atlassian.net/wiki/display/docs/Packages+-+Sync+Shared+Roles
>
> This appears to be the underlying PHP code, with hardcoded pointer to 
> https://my.scalr.net/storage/shared-roles.php:
> https://github.com/Scalr/scalr/blob/master/app/tools/sync_shared_roles.php
>
> Can this be extended to end users to let them share their own roles?  The 
> contents of sync_shared_roles.php look straightforward to duplicate and 
> modify.
>
> The "sending end" for such role sharing appears to be this file 
> shared-roles.php:
> https://github.com/Scalr/scalr/blob/master/app/www/storage/shared-roles.php
>
> This file is indeed present at 
> /opt/scalr-server/embedded/scalr/app/www/storage/shared-roles.php on 
> current version open source Scalr server installations.
>
> I would  gather such a feature would not pose a significant security 
> concern, since the data retrieved from scalr.net in the course of syncing 
> shared roles are themselves presumably anonymized.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"scalr-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to scalr-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Possible to share your own roles?

2015-10-07 Thread Ben West
I see from this wiki page there is the ability to import pre-defined, 
shared roles provided by Scalr.net:
https://scalr-wiki.atlassian.net/wiki/display/docs/Packages+-+Sync+Shared+Roles

This appears to be the underlying PHP code, with hardcoded pointer to 
https://my.scalr.net/storage/shared-roles.php:
https://github.com/Scalr/scalr/blob/master/app/tools/sync_shared_roles.php

Can this be extended to end users to let them share their own roles?  The 
contents of sync_shared_roles.php look straightforward to duplicate and 
modify.

The "sending end" for such role sharing appears to be this file 
shared-roles.php:
https://github.com/Scalr/scalr/blob/master/app/www/storage/shared-roles.php

This file is indeed present at 
/opt/scalr-server/embedded/scalr/app/www/storage/shared-roles.php on 
current version open source Scalr server installations.

I would  gather such a feature would not pose a significant security 
concern, since the data retrieved from scalr.net in the course of syncing 
shared roles are themselves presumably anonymized.

-- 
You received this message because you are subscribed to the Google Groups 
"scalr-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to scalr-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.