Users should log in (moodle) - moodle

I want that my users have to log in into moodle before they can see anything. So they should only see the login screen and no more. Where can I set these settings into Moodle?

You have to check the checkbox Force users to log in found in "Site administration > Security > Site policies".
Depending on moodle version, site policies might be located somewhere else, but this should do the job

Related

Moodle user profile page is loading even after profile owner has logged out. how can we protect authenticated pages after logout?

Moodle (v3.7.1) User has logged in and opened his profile page (user/profile.php?id=5560) and logged out. Now, if any one else opens this profile page url in that same chrome browser, it loads and discloses all profile details even though the owner has logged out. even on page reload. it must be loading from browser cache.
cache-control: private, pre-check=0, post-check=0, max-age=0, no-transform
Can you please advice exactly which file or config has to be changed so that any similar authenticate pages are not cached? thank you
As far as I know the pages are not cached. So it will always check the current logged-in user capabilities when calling the profile.php page.
Do you have made some customizations to Moodle core?
Maybe it would be a better approach to try to reproduce this error on a clean Moodle 3.7.1 installation. If it exists than you should create a Moodle tracker issue. But I don't think that the error is due to a Moodle core bug.
Greets
Adrian
Check your site security settings.
Go to Site administration > Security > Site security settings
and make sure the following settings are checked:
Force users to log in for profiles
Force users to log in to view user pictures

Connect-PnPOnline -UseWebLogin Login popup doesn't load when IE Security Level Zone is High

I have a PowerShell script that is supposed to open the web login popup, since the SharePoint site requires MFA. The script opens the popup, however, it does not load the Microsoft login page content. It loads just a blank page.
After some hours of troubleshooting, we identified that this is due to the security settings of the Internet Explorer. When the Security Level Setting is set to High in IE, neither the browser nor the popup loads the login page(presume the popup also loads IE).
Due to server restrictions,it is not possible to change the IE settings to a lower level.
Is there any other way of using Connect-PnPOnline in MFA environments/connect to SharePoint Online using MFA
OR is there a way to specify the browser opened by the popup(Edge loads the login page without an issue)?
Found that IE was automatically logged in to our Intranet (SharePoint Online). Logged out of IE, and got the webdialog back again.
I had the same. What helped for me was running PowerShell under administrative privileges...
I understand that you are not able to lower down the IE browser security settings level.
I suggest you add the SharePoint site to the trusted site list and configure the User Authentication setting may help you to fix the issue.
You can refer to the steps below to add the site to the trusted site list.
Go to Tools(ALT + X)-> Internet options-> Security tab.
Click on Trusted sites and click on sites button.
Insert the site URL and click on Add button.
Click on the Close button.
You can refer to the steps below to configure the User Authentication setting.
In the Security tab click on Trusted sites and then click on the Custom level button.
Scroll to the bottom and find User Authentication.
Select the Prompt for username and password option for logon setting.
Apply the settings and restart the IE browser.
Then after again try to check for the issue.

Missing Admin under app launcher in Sharepoint Office 365

I unable to find Admin option in App launcher. I navigate to https://www.office.com/?auth=1 which opens the Sharepoint page at the left hand i see the App Launcher when i click on show all apps i dont see the admin access. Based on the document i should see the admin option can anyone please help me with this.
https://sharepointmaven.com/the-anatomy-of-a-sharepoint-url/
You should navigate to a SharePoint site url like this: https://yoursite.sharepoint.com instead of the https://www.office.com/?auth=1. Then you could see the admin in the App Laucher.
Besides, you could go to the admin center directly with this url:https://admin.microsoft.com

Assign project site template to EPT

I was trying to change site template with site that I had saved. The target site was using project site template and the solution was activated. Checking on Microsoft site, I don't understand what this if it appropriate means. Is there something that I need to do before I could setup this project site template.
I knew I have to do something to make it enable. In Site Creation option you need to choose either Automatically create a site on next publish or Allow users to choose.
it then became enable.

Cannot get manage_pages publish_pages permission for admin of a Facebook app

I'm trying to develop a Nodejs app that will automatically post images/videos to my page once/twice per day.
When using it in Development mode everything works fine, but after changing the app to Live mode, using the Graph API explorer I cannot get permissions to manage_pages and publish_pages. I'm asking for these permissions as the user with admin roles both at the page and the app.
I've read the documentation, and it seems to me that as an admin I should be able to get those permissions and get a page access token, but I can't.
Is there anyone that knows what's wrong?
Thank you!
To resolve this issue:
Open your Facebook profile (the same one that has been added as an
admin on the target facebook page).
At the top-right of the page click on the down arrow and select
"settings". From the left menu select "Business Integrations".
Look for the app that is linked to the target page and click on the
"View and edit" link.
Ensure under the "Manage your Pages" -> "Pages" title the target
facebook page is selected. Note: You might have to click on "See all
Pages" to see all the pages linked to your facebook profile.
Do the same by scrolling down to the "Show a list of the Pages you
manage" title, you will need it later.
Click on save.
your application will work fine if you stay in development mode.
If you need the application to publish with a cronjob or something similar and nothing else, you don't need to put your application live.
Also, you probably need to get a permanent token, that can be done by following that method :
http://stackoverflow.com/questions/17197970/facebook-permanent-page-access-token