[Pharo-users] UserManager class missing in Pharo 5

2016-04-23 Thread kmo
The UserManager class has disappeared in Pharo 5.

I was using it as a convenient way to restrict what a user can do with a
delivered application:

UserManager currentUser permissions isRoot: false.

Is the class gone for good? Is there a equivalent in Pharo 5?



--
View this message in context: 
http://forum.world.st/UserManager-class-missing-in-Pharo-5-tp4891617.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.



[Pharo-users] Strange behaviour with traits

2016-04-23 Thread Hilaire
Hi,

I have noted somehow that some of my traits get altered by the Pharo
(Nautilus, source code import, Trait system?):

I have traits of trait, and some got inherited methods turned as trait
methods (duplicated from the parent trait).

Any one seen strange unreliable behaviour with traits?

Hilaire


-- 
Dr. Geo
http://drgeo.eu




[Pharo-users] Pillar: PRTemplate?

2016-04-23 Thread Martin Dias
Hi Pillar developers,

A method in Ecstatic [1] references a class named PRTemplate (as well as
PRTemplateError), which probably existed in a previous version of Pillar.
Do you know what happened to it? I'm trying to update Ecstatic code to work
with latest Pillar version released.

Regards,
Martin

[1]: https://github.com/guillep/ecstatic


Re: [Pharo-users] Pillar: PRTemplate?

2016-04-23 Thread Yann Dubois
Hi,

PRTemplate was removed in the development version because our goal is
simplify Pillar. To do this, we want Pillar generate only the content of a
document, so the template system was removed. If you want use PRTemplate,
you can use the last stable release of Pillar, and if you want use the
development version, you wil need to write a Makefile (Our Makefile is not
useful for the moment) and put the content in a template engine like
Mustache (the Pharo version is usable with a command line since this week).

Yann

2016-04-23 18:18 GMT+02:00 Martin Dias :

> Hi Pillar developers,
>
> A method in Ecstatic [1] references a class named PRTemplate (as well as
> PRTemplateError), which probably existed in a previous version of Pillar.
> Do you know what happened to it? I'm trying to update Ecstatic code to work
> with latest Pillar version released.
>
> Regards,
> Martin
>
> [1]: https://github.com/guillep/ecstatic
>


Re: [Pharo-users] Pillar: PRTemplate?

2016-04-23 Thread Martin Dias
Thanks Yann. Ecstatic is currently using Pillar 0.62. Finally it's not
necessary to upgrade now so we can wait.

Martin

On Sat, Apr 23, 2016 at 1:30 PM, Yann Dubois 
wrote:

> Hi,
>
> PRTemplate was removed in the development version because our goal is
> simplify Pillar. To do this, we want Pillar generate only the content of a
> document, so the template system was removed. If you want use PRTemplate,
> you can use the last stable release of Pillar, and if you want use the
> development version, you wil need to write a Makefile (Our Makefile is not
> useful for the moment) and put the content in a template engine like
> Mustache (the Pharo version is usable with a command line since this week).
>
> Yann
>
> 2016-04-23 18:18 GMT+02:00 Martin Dias :
>
>> Hi Pillar developers,
>>
>> A method in Ecstatic [1] references a class named PRTemplate (as well as
>> PRTemplateError), which probably existed in a previous version of Pillar.
>> Do you know what happened to it? I'm trying to update Ecstatic code to work
>> with latest Pillar version released.
>>
>> Regards,
>> Martin
>>
>> [1]: https://github.com/guillep/ecstatic
>>
>
>