How can I automate adding users to groups in SharePoint 2013? - sharepoint

This is after a user asks to view a certain page, folder, or file. Depending on the page or file the user requested to view, after I approve a request I want SharePoint to add the user to a specific group.
Example:
User requested to view Page1. I approve. Page1 selected so User is added to Viewer group.
NewUser requests to view Page2. I approve. Page2 selected so NewUser is added to the Members group.

Related

Kentico - Password Protect Content

I have some set of documents and want to password protect them with one set of userid/password for each group of users. It's like this:
All users in group 1 can access domain.com/survey1/ with userid1/password1
All users in group 2 can access domain.com/survey2/ with userid2/password2
etc....
Outside of Kentico, I can go to the webhosting control panel and apply password to any folders.
With Kentico (global admin privilege, no backend/server access) I'm not sure if this is possible and if yes, how to do it. Thanks for your input.
Note: I've tried creating a custom login page using the Logon Form webpart; set the destination URL for the Logon Form to a landing page that lists links to the docs; then added the mentioned docs as subpages; added new user (userid1/password1) through Users app and also under Properties/Security. But this didn't work as expected.
Michelle, basically you want a group of user share a single username/password combination, right? Which is basically a "group" of people all use a single "user" account in CMS.
So first you setup user account like user1/pw1, user2/pw2.
Then in you content tree, go to /survey1 > Properties > Security > set it to requirement authentication. Then add user1 to have READ permission. Do the same for other folders.
Then in a different browser session which you are not logged in, try to hit yoursite.com/survey1, it should redirect you to a login page, once you login with user1/pw1, it should route you back to /survey1.
If you have created your own login page like /mylogin.aspx, then go to Settings application > Settings > Security & Membership > Content > Website logon page URL, and add that ~/mylogin.aspx there, so when visitor is prompt for login, it will be that page.

Drupal 8: How to add personal contact form for user only on a certain type of users content?

On my site, anonymous and authenticated users can both create content of the content type 'job'. What I want to do is create an application form that displays as a block on 'job' pages for authenticated users only(i can do up to here). I want the results of the form to be emailed to the user who created that job content.
How can this be accomplished?
Core 8.2.4
webforms module 8.x-5.0-beta2

Liferay - Site Page with user customization

I have a requirement that each user has a different set of portlets that he can see and manage based on his role.
I was initially thinking to model User Pages since I want each user to drag and drop the portlet around and set preferences. But then I realized I cannot have a single user home page and disable portlets based on role since all the portlets on a user page have view permission for "Owner"
Is something like this possible with Community home page. Can I configure a community home page with portlet which has role based permission. Every user will also have an option to drag around or add those portlets on the page and set permissions. I doubt I can give common access to all the user add portlet permission on the community page, since the page will be loaded with portlets.
In that case can I use the first approach and have flexibility to show set of portlets on user home page (private page) based on certain role and not have "Owner Role" interfere.

pages not changing when changing user group in liferay 6

I am using Liferay and I have created 3 user groups. My application is like ,the user will be able to switch user groups in the UI using a drop down. When I login for a specific user group the pages are visible according to user group.
But when I switch user groups, the pages do not change according to user groups. Logs show that the change in user group is detected. The same was working in liferay 5. Please suggest what has to be done.
Thanks in advance

Orchard CMS Custom Form

I am new to Orchard and still learning.
I created a custom form on Orchard CMS, but when I submit the form as a anonymous, it asks me to login, how do I prevent that as my form is a public form and does not need authentication.
I added a layer to the widget to be not authenticated, but that doesn't seem to work. I've even add a redirect to another page.
To let non logged in people submit a form you need to:
In the dashboard go to Admin > Users > Roles
Click 'Anonymous'
Scroll down to 'Custom Forms' section
There will be a line called 'Submit {your content type} forms'
Tick the box next to this
Scroll down to the bottom and click Save.
Grant the custom form permission to the Anonymous role.
http://sebastienros.com/creating-a-contact-form-workflow

Resources