[Trac] Re: Permissions for specific tickets...

2016-12-09 Thread RjOllos


On Wednesday, October 3, 2012 at 4:35:47 AM UTC-7, mutetella wrote:
>
> Hello,
>
> I'm using the AuthzPolicy-plugin to manage the permissions in a trac-env. 
> Now I like to set a permission that disallow all users except for the 
> admins to view tickets with a specific status.
>
> I try a lot such as the following entry in the authzpolicy.conf:
>
> [ticket:*/status:new]
> @administrators = TICKET_VIEW
> * =
>
> Does the AuthzPolicy-plugin provides permission-setting for tickets with a 
> specific status, owner or something else?
>
> mutetella
>

To restrict viewing of tickets with a specific status you will need to 
write a plugin that implements IPermissionPolicy. Examples:
* 
https://trac.edgewall.org/wiki/CookBook/Configuration/SignedTickets#Readonlylogic
* 
https://trac.edgewall.org/wiki/TracDev/PluginDevelopment/ExtensionPoints/trac.perm.IPermissionPolicy

- Ryan 

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


Re: [Trac] Re: Assigning custom user roles

2016-12-09 Thread RjOllos


On Friday, December 9, 2016 at 1:28:19 AM UTC-8, andre.tampubolon wrote:
>
> Ah, I forgot about the trac-admin command line tool.
> So far I don't have more specific requirements.
> Let my try it first.
>

You can also manage permission groups through the web administration pages:

 


-
 
Ryan 


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


Re: [Trac] Re: Assigning custom user roles

2016-12-09 Thread Andre Tampubolon
Ah, I forgot about the trac-admin command line tool.
So far I don't have more specific requirements.
Let my try it first.

On Fri, Dec 9, 2016 at 4:05 PM, RjOllos  wrote:

>
>
> On Friday, December 9, 2016 at 12:51:49 AM UTC-8, andre.tampubolon wrote:
>>
>> I'm evaluating Trac whether it is easy to use to our team or not.
>> One of the questions a colleague asked is is there a way to assign custom
>> user roles in projects?
>>
>> Let's say for a certain project I'd like:
>> - A to be the project leader
>> - B,C,and D to be the developers
>> - E,F to be the testers
>>
>> Does Trac already have a feature for this?
>>
>
> You can make permission groups in Trac. Users can be assigned to groups
> (e.g. project_leaders, developers),  and each group can be assigned a set
> of permissions.
> https://trac.edgewall.org/wiki/TracPermissions#PermissionGroups
>
> Do you have more specific requirements in how user roles will be utilized?
>
> - Ryan
>
> --
> You received this message because you are subscribed to the Google Groups
> "Trac Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to trac-users+unsubscr...@googlegroups.com.
> To post to this group, send email to trac-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/trac-users.
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: [Trac] Re: How to upgrade from 1.0.13 to 1.2

2016-12-09 Thread RjOllos


On Thursday, December 8, 2016 at 5:41:35 PM UTC-8, Mingxing Tian wrote:
>
>
>
> 在 2016年12月9日星期五 UTC+8上午12:17:37,RjOllos写道:
>>
>>
>>
>> On Thursday, December 8, 2016 at 12:09:23 AM UTC-8, Mingxing Tian wrote:
>>>
>>>
>>>
>>> 在 2016年12月8日星期四 UTC+8下午2:44:27,RjOllos写道:



 On Wednesday, December 7, 2016 at 10:16:40 PM UTC-8, Mingxing Tian 
 wrote:
>
> The following error occurred only in when I pass the page management 
> account, not every page will appear the mistake, so I don't think it is 
> caused by the failure notification message, I think there should be other 
> reasons.You notice to check my profile, have seen what is not the right 
> place?
>
> Cannot find an implementation of the IPasswordHashMethod interface 
> named HtDigestHashMethod. Please check that the Component is enabled 
> or update the option [account-manager] hash_method in trac.ini
>


 Are you referring to the user management page, with path 
 /admin/accounts/users? If not, what is the path where you see the error.

 You could try:

 acct_mgr.* = enabled
 acct_mgr.admin.configurationadminpanel = disabled
 acct_mgr.db.sessionstore = disabled
 acct_mgr.htfile.htdigeststore = disabled
 acct_mgr.http.httpauthstore = disabled
 acct_mgr.pwhash.* = disabled
 acct_mgr.svnserve.svnservepasswordstore = disabled 

 - Ryan

>>>
>>>
>>> I do not want to go to the tube of this error, after all, it does not 
>>> appear in each page, there is no impact on the normal use of Trac.
>>> I am very worried about is that the mission status change can not 
>>> receive the mail notification, you can help me to look at the specific I 
>>> want to solve the most urgent problem?thank you!!! 
>>>
>>
>> I do care about fixing the error, particularly as it may relate to:
>> https://trac-hacks.org/ticket/11869#comment:17
>>
>> Again, please tell me the path you have visited when receiving the error:
>>
>> Cannot find an implementation of the IPasswordHashMethod interface named 
>> HtDigestHashMethod. Please check that the Component is enabled or update 
>> the option [account-manager] hash_method in trac.ini
>>
>> Is the path /admin/accounts/users?
>>
>> - Ryan
>>
>>
>  I'm back to the question again, and give you a screenshot.
>
>
> 
>
>
>
Okay, I'll investigate in due time. However, I think you don't need to both 
with the Configuration panel, and can just disable it.

[components]
acct_mgr.admin.configurationadminpanel = disabled
 

> In addition to the issue of e-mail notification, I found that some 
> colleagues have received a confirmation email address, and then in his 
> mailbox to send Trac messages, I think the mailbox configuration should be 
> normal. But why do you have to change the status of the task of the staff 
> did not receive notice to remind it???
>

I'm sorry, but I don't follow.

Have you disabled AnnouncerPlugin? It won't work with Trac 1.2 (yet).

After disabling, you will need to port some settings from the [announcer] 
and [smtp] sections to the [notification] section.
https://trac-hacks.org/wiki/AnnouncerPlugin#EmailConfiguration 
https://trac.edgewall.org/wiki/TracNotification#notification-section

- Ryan

- Ryan

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


[Trac] Assigning custom user roles

2016-12-09 Thread andre.tampubolon
I'm evaluating Trac whether it is easy to use to our team or not.
One of the questions a colleague asked is is there a way to assign custom 
user roles in projects?

Let's say for a certain project I'd like:
- A to be the project leader
- B,C,and D to be the developers
- E,F to be the testers

Does Trac already have a feature for this?

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