zsol / cupapp

A starcraft2 replay sharing site
www.cupapp.com
8 stars 0 forks source link

Reply&Delete in comments #1

Closed zsol closed 13 years ago

zsol commented 13 years ago

The Reply and Delete links in the headers of comments are broken. They are not links, just text.

zsol commented 13 years ago

Reply now works, Delete is hidden except for superadmins. Will work on this later.

eshton commented 13 years ago

Adding the privilege to superadmins is okay. What would be better is to create default user groups like "editors", "moderators" etc and add credentials to them like "delete comment", "edit replay" etc and after you have to check whether the user, through their groups do they have the privilege to delete comments and after to show the delete link. Also have to be checked when performing this operation on the server.

This behavior is supported by the sfGuardPlugin, the tables are created and also you have the admin interfaces for this as well.

These default groups should be added to the fixtures.yml so on each database revamp these default groups and permissions would be automatically populated.

I hope to get some time getting into details with this.

zsol commented 13 years ago

I agree, this is exactly what I had in mind for the future. However, I think we can do without this for the first public beta release

eshton commented 13 years ago

Sure. In the meantime an improvement request should be created.

zsol commented 13 years ago

agreed. closing this one