equal
deleted
inserted
replaced
13 # FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
13 # FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more |
14 # details. |
14 # details. |
15 # |
15 # |
16 # You should have received a copy of the GNU Lesser General Public License along |
16 # You should have received a copy of the GNU Lesser General Public License along |
17 # with CubicWeb. If not, see <http://www.gnu.org/licenses/>. |
17 # with CubicWeb. If not, see <http://www.gnu.org/licenses/>. |
18 from cubicweb.web.views import xmlrss |
|
19 xmlrss.RSSIconBox.visible = True |
|
20 |
|
21 |
18 |
22 from cubicweb.predicates import match_user_groups |
19 from cubicweb.predicates import match_user_groups |
23 from cubicweb.server import Service |
20 from cubicweb.server import Service |
|
21 from cubicweb.web.views import xmlrss |
|
22 |
|
23 |
|
24 xmlrss.RSSIconBox.visible = True |
24 |
25 |
25 |
26 |
26 class TestService(Service): |
27 class TestService(Service): |
27 __regid__ = 'test_service' |
28 __regid__ = 'test_service' |
28 __select__ = Service.__select__ & match_user_groups('managers') |
29 __select__ = Service.__select__ & match_user_groups('managers') |