Skip to:
Content
Pages
Categories
Search
Top
Bottom

Giving only specific users access to Album/Pictures

  • Avatar of mairaj
    mairaj
    Participant

    @mairaj

    Hello,
    I am using BP Album for my users to upload their pictures and the plugin has been really nice. I wonder if I can limit the access to users’ albums to a desired user group only? This user group will basically be from subscribers level only.

    1. I / My Users don’t want public pictures.
    2. Only registered members won’t work because that gives access to every registered user.
    3. Only friends is not good for my scenario.
    4. Admin Access – I can’t make my users admin!

    I have ‘models’ and ‘hiring companies’ 2 types of users. So, I want only the ‘hiring companies’ to have access to models’ pictures and of course the admins.

    Basically models should not see each others pictures and should not be accessible by public too.

    Is the above possible?

    Thank you for your support.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Avatar of foxly
    foxly
    Participant

    @foxly

    @mairaj

    What you’re describing is called “Rule-Based Access Control” often merged with “Role-Based Access Control” although they are different paradigms. http://en.wikipedia.org/wiki/RBAC

    The simplest solution is just to have users check the “Show to Friends Only” box on their images, then “Friend” the agencies they want to share their photos with.

    BP-Media, which we’re planning to release as an Alpha version in a few months, has a very sophisticated RBAC system that allows group, admin, and user access control capabilities at par with Facebook and Google+.

    You can download the Nightly Build version here: https://code.google.com/p/buddypress-media/downloads/list

    Note that you cannot currently upload content to the nightly build version because it isn’t finished yet.

    ^F^

    Avatar of mairaj
    mairaj
    Participant

    @mairaj

    Hi!
    Thank you very much for your reply. I see two problems with the solutions you have suggested.

    1. If I go with ‘Show to Friends Only’, the control will be under my users (Models) hands. They will be able to share their pictures with whomsoever they want not specifically with the agencies I suggest.

    2. I will be limiting agencies’ ability to look at any model’s pictures they want. Every time they want to look at a model’s pics they will have to request friendship and wait until the request is accepted. This will not be a good experience for users.

    Is it not possible to modify the code so that instead of checking for friends it checks for user category/ group (I mean agency)? Then I will simply change the wordings from ‘Show to Friends Only’ to ‘Show to Agencies Only’.

    I will appreciate your guidance.
    Thanks and regards

    Avatar of foxly
    foxly
    Participant

    @foxly

    @mairaj

    In theory the solution you’ve proposed will work, but you’ll have to code it yourself. We’re focusing 100% of our resources on BP-Media now, with the exception of maintenance and security fixes.

    ^F^

    Avatar of mairaj
    mairaj
    Participant

    @mairaj

    Hello Again,

    Can you recommend me some place where somebody may modify the code for a fee?
    You recommendation will be a great help for me.

    regards

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.