You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,7 @@ This package is currently under heavy development. Feel free to post issues and
38
38
* Multilingual (English and French translations available out of the box)
39
39
40
40
### Planned features
41
+
41
42
* Read/unread thread status (with icons and 'new posts' page)
42
43
43
44
### Demo
@@ -111,7 +112,7 @@ You can then adjust the views however you like. I suggest editing the master vie
111
112
112
113
### Regarding permissions
113
114
114
-
The default permission callbacks don't allow users to perform certain actions such as deleting threads or posts; you'll need to modify them to return TRUE based on your own criteria. For example, if you use [Zizaco/entrust](https://github.com/Zizaco/entrust), you might change your `delete_threads` callback to return `Entrust::can('forum_threads_delete');`, allowing users with a role that grants the `forum_threads_delete` permission to delete threads.
115
+
The default permission callbacks don't allow users to perform certain actions such as deleting threads or posts; you'll need to modify them to return true based on your own criteria. For example, if you use [Zizaco/entrust](https://github.com/Zizaco/entrust), you might change your `delete_threads` callback to return `Entrust::can('forum_threads_delete');`, allowing users with a role that grants the `forum_threads_delete` permission to delete threads.
115
116
116
117
Note that the default set of views include links for deleting, editing and replying, and their visibility is controlled by the permission callbacks.
0 commit comments