[ADF-4249] Updates for doc review (#4454)

* [ADF-4249] Updates for doc review

* [ADF-4249] Clarified text slightly
This commit is contained in:
Andy Stark
2019-03-19 15:35:59 +00:00
committed by Eugenio Romano
parent 34b5c5a1b3
commit 7fe066b068
17 changed files with 123 additions and 75 deletions

View File

@@ -39,8 +39,14 @@ export class AboutComponent implements OnInit {
modules: ObjectDataTableAdapter;
extensionColumns: string[] = ['$id', '$name', '$version', '$vendor', '$license', '$runtime', '$description'];
extensions$: Observable<ExtensionRef[]>;
/** Commit corresponding to the version of ADF to be used. */
@Input() githubUrlCommitAlpha = 'https://github.com/Alfresco/alfresco-ng2-components/commits/';
/** Toggles showing/hiding of extensions block. */
@Input() showExtensions = true;
/** Regular expression for filtering dependencies packages. */
@Input() regexp = '^(@alfresco)';
ecmHost = '';

View File

@@ -316,7 +316,8 @@ export class AuthenticationService {
}
/**
* Check if SSO is configured correctly
* Checks if SSO is configured correctly.
* @returns True if configured correctly, false otherwise
*/
isSSODiscoveryConfigured() {
return this.alfrescoApi.getInstance().storage.getItem('discovery') ? true : false;

View File

@@ -175,7 +175,7 @@ export class ContentService {
/**
* Checks if the user has permission on that node
* @param node Node to check permissions
* @param permission
* @param permission Required permission type
* @returns True if the user has the required permissions, false otherwise
*/
hasPermissions(node: Node, permission: PermissionsEnum | string): boolean {
@@ -205,7 +205,7 @@ export class ContentService {
/**
* Checks if the user has permissions on that node
* @param node Node to check allowableOperations
* @param permission Create, delete, update, updatePermissions, !create, !delete, !update, !updatePermissions
* @param allowableOperation Create, delete, update, updatePermissions, !create, !delete, !update, !updatePermissions
* @returns True if the user has the required permissions, false otherwise
*/
hasAllowableOperations(node: Node, allowableOperation: AllowableOperationsEnum | string): boolean {