<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Forum posts to 'Archive'</title>
		<link>http://www.silverstripe.org/archive/rss</link>
		<atom:link href="http://www.silverstripe.org/archive/rss" rel="self" type="application/rss+xml" />
		<description></description>

		
		<item>
			<title>Re: discrete user access</title>
			<link>http://www.silverstripe.org/archive/show/114205?start=0#post115879</link>
			<description>&lt;p&gt;Another solution here is to overload the Page::canEdit() method - make this return true when the currently logged-in user is allowed to edit the current page.&lt;/p&gt;&lt;p&gt;The CMS will automatically update itself in response to this value.  Please note that in defining this method you will be overriding the built-in permission control on page editing.  You might want to limit this functionality to a custom page class.&lt;/p&gt;&lt;p&gt;Here's a little example to get you started.&lt;/p&gt;&lt;p&gt;&lt;div class=&quot;codesnippet&quot;&gt;&lt;p&gt;function canEdit() {&lt;br /&gt;  return Permission::check(&quot;ADMIN&quot;) || ($this-&amp;gt;OwnerID &amp;amp;&amp;amp; $this-&amp;gt;OwnerID = Member::currentUserID());&lt;br /&gt;}&lt;/p&gt;&lt;/div&gt;&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: discrete user access &lt;a href=&quot;http://www.silverstripe.org/archive/show/114205?start=0#post115879&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/114205?start=0#post115879&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Mon, 07 Jul 2008 13:41:05 +1200</pubDate>
			<dc:creator>Sam</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/114205?start=0#post115879</guid>
		</item>
		
		<item>
			<title>Re: discrete user access</title>
			<link>http://www.silverstripe.org/archive/show/114205?start=0#post114360</link>
			<description>&lt;p&gt;Yes, we don't do permissions by user - if you want to use the built-in permission controls, that means one group per user. for the frontend it would be possible to customize this in your Page_Controller-&amp;gt;init() method (and some custom page-relation-fields on the Member object). in the backend this level of customization would be tricky though.&lt;/p&gt;&lt;p&gt;ideally the sitetree and cms UI would query the canView()/canEdit()/canDelete() methods on each Page object, which you could then overload to check for a specific user-id etc. - but thats not implemented yet afaik.&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: discrete user access &lt;a href=&quot;http://www.silverstripe.org/archive/show/114205?start=0#post114360&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/114205?start=0#post114360&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Sat, 05 Jul 2008 10:52:13 +1200</pubDate>
			<dc:creator>Ingo</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/114205?start=0#post114360</guid>
		</item>
		
		<item>
			<title>discrete user access</title>
			<link>http://www.silverstripe.org/archive/show/114205#post114205</link>
			<description>&lt;p&gt;i have an upcoming project that is going to require what essentially boils down to an editable user page for 200+ users. something like &lt;a href=&quot;http://www.mysite.com/mypage&quot;&gt;www.mysite.com/mypage&lt;/a&gt;&lt;/p&gt;&lt;p&gt;the mypage section needs to be editable by the user of that page and by the site admin, but no one else. the owner of the mypage section should also only be allowed to see/edit their page in the admin console. based on the last site i did with silverstripe it would appear i need to create a group for each user in order to limit their access to a single page. is that correct or have i missed something?&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: discrete user access &lt;a href=&quot;http://www.silverstripe.org/archive/show/114205#post114205&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/show/114205#post114205&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Sat, 05 Jul 2008 05:10:20 +1200</pubDate>
			<dc:creator>dashiel</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/114205#post114205</guid>
		</item>
		

	</channel>
</rss>