Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Josh Reid 182 posts 258 karma points
    Mar 31, 2010 @ 22:29
    Josh Reid
    0

    Protecting dashboard tabs and/or controls

    I have multiple blog4umbraco blog instances on one 4.0.3 install with multiple blog users/editors.

    Is there any way I can split the comments moderation control to pull comments out to each blog instance?
    Or use a tabbed view etc to display each blog instance comments?

    Any way to protect the dashboard controls to certain users, or add the permission for comment moderation etc to each allowed user in the users back-office etc?

    Or should i be creating a different user for each blog as the blog owner to solve these issues...
    Thing is I would like to retain a superuser to admin all the blogs or create a new blog instance.

    Any thoughs appreciated ;)
    J

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Mar 31, 2010 @ 23:48
    Aaron Powell
    0

    The dashboard can't be permissioned per user, the only way I can think that you would achieve this is by creating multiple "Content" applications, assign each user to their own one and set up the dashboard appropriately.

    You can fake it so people don't realise that they are being given different content trees by setting their start node ID which means they'd only see their blog in the tree.

    The super user would have permission across all applications, meaning that they can manage each one as required.

  • Josh Reid 182 posts 258 karma points
    Apr 01, 2010 @ 04:36
    Josh Reid
    0

    Hmm interesting take on that Slace, definitely sounds feasible, thanks.

    What about splitting up the comments moderation list?
    Or does the comments moderation control display only the current user owned blog comments?

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Apr 01, 2010 @ 08:26
    Aaron Powell
    0

    No idea how it works, I don't use blog4umbraco. I'd assume it's global (across all blog installs) so you'd either have to override it or make your own dashboard control.

  • Josh Reid 182 posts 258 karma points
    Apr 05, 2010 @ 00:45
    Josh Reid
    0

    Ok so how would I duplicate the content tree to create 2 areas to set users to admin?

    I just want to have two content tree applications, so a superuser can have the dashboard controls (by using the main content tree) and any other user will not see them as they will use the 'editor' content tree (with root node set as applicable).

    Do i just need duplicate the applicable rows in the db tables umbracoApp and umbracoAppTree? Or is it more complex than that?

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Apr 05, 2010 @ 02:36
    Aaron Powell
    0

    You just need to duplicate the content row in the umbracoApp table, and point it the content tree app. Then set up the users to only have access to "their" application, and specify a start node id which is there blog.

  • Josh Reid 182 posts 258 karma points
    Apr 05, 2010 @ 05:00
    Josh Reid
    0

    Thanks Slace ;)

    I have created the new app but for user it doesnt load the content tree, if i create editor row in appTree table it draws the tree but doesnt allow editing - user doesn't have permission to content app!

    Any thoughts?

    chrs

  • Josh Reid 182 posts 258 karma points
    Apr 05, 2010 @ 22:02
    Josh Reid
    0

    Sorry was in a rush when i wrote that- reading back it doesn't make any sense... Will try to clarify.

    I made an 'editor' row in the umbracoApp table, exactly the same as content except the appAlias column named editor.

    I can set a user to use this app, but when logged in no tree is drawn under editor to select and edit with.

    So I added another row to the umbracoAppTree table, duplicate of content, except appAlias column named editor.

    Now when logging in the tree is loaded and drawn, but on clicking on a node the right frame doesn't load and exclaims 'The current user doesn't have access to this application. Please contact the system administrator.'

    So i guess the issue is that although the user has access to the editor app, this is actually loading the content app which the user can't use.

    Is there something I'm missing- do i need to create another tree through the API and add this assembly etc, to get it to work???

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Apr 06, 2010 @ 05:26
    Aaron Powell
    0

    You shouldn't have to create a new tree via the API or anything (in fact, prior to 4.1 you couldn't set the start node ID for a content tree yourself).

    Provided the logged in user has access to the app it *should* have worked. I guess I'll have to set up a demo site to play with it myself

  • Josh Reid 182 posts 258 karma points
    Apr 06, 2010 @ 05:38
    Josh Reid
    0

    Thanks for all your help Slace ;)

    What I have resorted to is to create an empty app tree called 'manage' just to house the dashboard items i only want the super to use.

    So blog users get the content app with root node adjusted to suit, and with no dashboard items on the content app it achieves what i need.

    Either way I'm still interested in getting to the bottom of the duplicate content app's in the future....

Please Sign in or register to post replies

Write your reply to:

Draft