Back to ProBlog Support

paulgrafx
paulgrafx

Are there any options in the new update to have more options for permissions.

Such as users only able to create drafts and users able to publish etc?

ChadStrat
ChadStrat

Hi Paul - I'm totally open to that. I guess I'd be interested to know a full list of those needs and how that would work? Seems like this approach could be achieved: http://octobercms.com/forum/post/hide-backend-columnsfields-with-permissions?page=1#post-7301

paulgrafx
paulgrafx

I managed to do something similar, using '::extend'. I am guessing I could extend your controller and model as long as I use it in public function boot() ?

Something like...

$user = BackendAuth::getUser();

if(!$user->hasAccess('plugin.miscellaneous.access_postspublish')){ return; }

ChadStrat
ChadStrat

I believe something in that vein would work. But if this is something more broadly needed, I'm open to including functionality natively into the plugin.

paulgrafx
paulgrafx

Cool.

I am not sure if it helps, but I think the free blog plugin allows this so maybe it could be a good starting reference point.

ChadStrat
ChadStrat

yeah they slipped that in there. I missed that. Will be in the next push.

1-6 of 6